- 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.
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.