Difference between revisions of "talknpc"

From OpenKore Wiki
Jump to navigation Jump to search
m
Line 21: Line 21:
 
* 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?
 
* Dynamically detect whether autoTalkCont functionality is needed for a sequence, so form without "c"s can always be used?
 +
* Add something like r="text", r=/regexp/ to select option by option text.
  
 
[[Category:Console Command]]
 
[[Category:Console Command]]

Revision as of 08:14, 13 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?
  • Add something like r="text", r=/regexp/ to select option by option text.