View Single Post
  #4  
Old 07-18-2014, 12:59 AM
Zaela_S
Hill Giant
 
Join Date: Jun 2012
Posts: 216
Default

Timers are tied to Mobs. Starting a timer for a mob when it is dying is pointless: if the mob no longer exists when the timer is up, there won't be anything to receive the EVENT_TIMER event.

You could:

a) Spawn an invisible, untargetable NPC when the first NPC dies, which exists purely to run your timer and spawn the next NPC (and despawn itself).

b) Attach the timer to the Client that deals the killing blow and hope they don't die/leave before the timer goes off. Not sure how to do this in the Perl system myself (signal?) but I imagine there's a way.
Reply With Quote