Add to mana trigger

Status
Not open for further replies.
Level 8
Joined
Jun 13, 2007
Messages
313
I am trying to do a very specific thing. I want to set up a trigger that, every 30 seconds, adds a certain amount of mana to to a building, and I want that ceratin amount to be determined by an integer variable. So, this would be a rough outline of what I want to avhieve:

EVENTS - Periodic event - Every 30 seconds

CONDITIONS - None

ACTIONS - Unit - Set mana of Research Center 0000 <gen> to ((Mana of Research Center 0000 <gen>) + Variable ManaPoints)

Ok, see that part that's bold? That's the part it won't let me do. The variable option is greyed out, and it says "no variables of this type available." Please help me, this is a very important bit for my map.
 
Your variable would have to be a real, not an integer, which I assume you used. Reals are like numbers with decimal and that describes things like life, mana, and time. While integers are whole number which are used in hero level, stat attribute, ect.
 
Status
Not open for further replies.
Back
Top