Difference between revisions of "talknpc"

From OpenKore Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
;talknpc (<x> <y> <npc talk codes>)
+
;talknpc <x> <y> <[[NPC conversation codes]]>
 
 
:<x>
 
::- x-coordinate.
 
 
 
:<y>
 
::- y-coordinate.
 
 
 
:<npc talk codes>
 
::- a space-separated sequence of talk codes. See [[References#NPC_Conversation_Codes|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.
 
:Talk to the NPC on the specified coordinate and use the specified sequence of responses.
  
 
== Notes ==
 
== Notes ==
 
 
You should be near the NPC to talk.
 
You should be near the NPC to talk.
  

Revision as of 11:55, 17 August 2012

talknpc <x> <y> <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.