Thread: NPC heading..
View Single Post
  #4  
Old 04-22-2011, 05:14 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Ahh, yeah then you just want to set a timer directly from EVENT_SAY. Just set the timer, then I think moveto should work if you use it like this in your timer:

Code:
my $SpawnHeading = $npc->GetSpawnPointH();
$npc->MoveTo($x, $y, $z, $SpawnHeading);
Or, you might try this:

Code:
my $SpawnHeading = $npc->GetSpawnPointH();
$npc->SetHeading($SpawnHeading);
One of those will probably work.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote