View Single Post
  #4  
Old 03-23-2012, 06:12 PM
sorvani
Dragon
 
Join Date: May 2010
Posts: 965
Default

why are you setting x/y/z/h into local variables? They already exist globally for any npc. They are the value of the NPC's /loc at the moment that portion of the script is called.
In this case you are doing a bunch of work for nothing.
Reply With Quote