Difference between revisions of "talknpc"

From OpenKore Wiki
Jump to navigation Jump to search
m (Conversion script moved page Talknpc to talknpc: Converting page titles to lowercase)
 
(2 intermediate revisions by one other user not shown)
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.
  
Line 20: Line 9:
  
 
* 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?
 
* Add something like r="text", r=/regexp/ to select option by option text.
 
  
 
[[Category:Console Command]]
 
[[Category:Console Command]]

Latest revision as of 22:35, 26 April 2021

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.