Difference between revisions of "Npc stop"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
 
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
  
 
==Use==
 
==Use==
Used to set a spawned NPC stop following
+
Used to set a spawned NPC to stop following
  
 
==Example==
 
==Example==
Line 16: Line 16:
  
 
==Also see==
 
==Also see==
[[npc_start]], [[window_msg]], [[winend]], [[ret]]
+
[[npc_play]], [[window_msg]], [[winend]], [[ret]]

Latest revision as of 08:27, 30 March 2011

Syntax

Syntax: npc_stop xxxxxxxx

  • xxxxxxxx = Hex value of NPC slot to stop.

Use

Used to set a spawned NPC to stop following

Example


100:     window_msg 'Stop NPC'
         winend 
         npc_stop 00000001 //Stop NPC in slot 2
         ret 

Also see

npc_play, window_msg, winend, ret