talknpc: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
No edit summary
Line 18: Line 18:
== TODO ==
== TODO ==


Add moving to the NPC if not near? Should be able to additionally specify map in this case.
* Add moving to the NPC if not near? Should be able to additionally specify map in this case.
* Dynamically detect whether autoTalkCont functionality is needed for a sequence, so form without "c"s can always be used?


[[Category:Console Command]]
[[Category:Console Command]]

Revision as of 20:52, 4 July 2010

talknpc (<x> <y> <npc talk codes>)
<x>
- x-coordinate.
<y>
- y-coordinate.
<npc talk codes>
- a space-separated sequence of talk codes. See the references section for more details about NPC conversation codes.
Talk to the NPC on the specified coordinate and use the specified sequence of responses.

Notes

You should be near the NPC to talk.

TODO

  • Add moving to the NPC if not near? Should be able to additionally specify map in this case.
  • Dynamically detect whether autoTalkCont functionality is needed for a sequence, so form without "c"s can always be used?