Difference between revisions of "Npc stop"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
 
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==

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_start, window_msg, winend, ret