Cooldown condition

Sefiraat

New Member
Reaction score
15
Hey, I have had a little route around and cant seem to find a comparison that checks to see if a cooldown is still in progress. Could any one help me :)?
 

seph ir oth

Mod'n Dat News Jon
Reaction score
262
You could set a timer to a spell if only one person in your map is using it. This timer will be equal to the length of the cooldown, and could be checked in a condition!
 

Sefiraat

New Member
Reaction score
15
Very nice idea, i will apply it to another part of my map, but as for the one this post was regarding, i have 4 instances of it being used and wont work :) Very much appreciated though.
 

Cheddar

This is the way it was meant to be.
Reaction score
126
Code:
Events: Unit starts the effect of an ability
Conditions: (Ability being cast) equal to Whatever
Actions: Set CooldownInProgress(Player number of (Owner of (Casting unit))) equal to True
      Wait Y seconds
      Set CooldownInProgress(Player number of (Owner of (Casting unit))) equal to False

CooldownInProgress should be a Boolean with an array of 12.

Afterwards, then you can just include the condition CooldownInProgress equal to True/False in another trigger.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top