Thread: Timer issue
View Single Post
  #6  
Old 09-14-2014, 03:16 PM
chrsschb's Avatar
chrsschb
Dragon
 
Join Date: Nov 2008
Location: GA
Posts: 904
Default

Why don't you just handle the entire spawn cycle with the controller?

You're already basically doing it. Have the timer setup so that it runs through a timer chain:


timer1 18 mins, spawns random mob, signals controller, starts timer 2
timer2 18 mins, spawns random mob, signals controller, starts timer 3
timer3 18 mins, guaranteed executioner, starts timer 1

The caveat is that if an executioner spawns in timer1 or timer2 it signals the controller to stop the current timer and restart at timer 1.

Don't have time to write out the code but you get the idea. This would be easy to copy and paste for multiple NPCs / controllers.
__________________
Clumsy's World: Resurgence [2019-Present]
Clumsy's World 2.0 [2014-2016]
Clumsy's World [2006-2012]
Reply With Quote