Maybe we fire off a timer after the Hail, capture the old heading, then perform FaceTarget(), then after the timer expires, turn back?
FaceTarget returns to original heading
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
FaceTarget returns to original heading
I am pretty sure that NPCs who face you when hailed eventually turn back to their original heading after a time. This is a request to implement that, or discuss why it is not so important. 
Maybe we fire off a timer after the Hail, capture the old heading, then perform FaceTarget(), then after the timer expires, turn back?
Maybe we fire off a timer after the Hail, capture the old heading, then perform FaceTarget(), then after the timer expires, turn back?
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Added. I also added a AddTimer function for spawn scripts so you can do whatever you want after a short period of time:
AddTimer(NPC, Time in Millis, Function, Max number of calls (optional - defaults to 1), Spawn (optional))
Ex: AddTimer(NPC, 5000, "TimerCalled", 3, Spawn) - That will call the TimerCalled function 3 times after a delay of 5 seconds each time.
AddTimer(NPC, Time in Millis, Function, Max number of calls (optional - defaults to 1), Spawn (optional))
Ex: AddTimer(NPC, 5000, "TimerCalled", 3, Spawn) - That will call the TimerCalled function 3 times after a delay of 5 seconds each time.
Who is online
Users browsing this forum: No registered users and 0 guests