Timer without a window

Status
Not open for further replies.
Level 19
Joined
Apr 21, 2013
Messages
1,194
In my map I have a bossfight and I want to make a method for timers, but I don't know if it's possible.

I will make a trigger to be initiated with another trigger, and it will set a random integer between 5 and 16, and start a timer for this when it finishes the boss casts a specified spell, and the trigger will loop in itself by running it again with a different random value.

But I don't want any players to see the timer, are these things possible?

  • LoopedTimerRandom
    • Events
    • Conditions
    • Actions
      • Set randomTimerSeconds = (Random real number between 5.00 and 16.00)
      • Countdown Timer - Start BossPolgarSpellTimer as a One-shot timer that will expire in randomTimerSeconds seconds
      • Wait randomTimerSeconds seconds
      • Trigger - Run LoopedTimerRandom <gen> (ignoring conditions)
  • TimerSpellSlide
    • Events
      • Time - BossPolgarSpellTimer expires
    • Conditions
    • Actions
      • -------- Spell Trigger --------
Added the triggers will it work the way I intended it to work?

 
Last edited:
Level 12
Joined
Feb 22, 2010
Messages
1,115
Your triggers will work, timers don't have a window unless you create manually anyway.

But your last 2 actions in first trigger is not neccesary, it is better to add this action to last trigger.

  • LoopedTimerRandom
    • Events
    • Conditions
    • Actions
      • Set randomTimerSeconds = (Random real number between 5.00 and 16.00)
      • Countdown Timer - Start BossPolgarSpellTimer as a One-shot timer that will expire in randomTimerSeconds seconds
  • TimerSpellSlide
    • Events
      • Time - BossPolgarSpellTimer expires
    • Conditions
    • Actions
      • -------- Spell Trigger --------
      • -------- Spell stuff here --------
      • Trigger - Run LoopedTimerRandom <gen> (ignoring conditions)
 
Status
Not open for further replies.
Top