Supply Depots Events Timer - Every 1.0 seconds of Game Time Local Variables Conditions Actions Variable - Set Supply Depot Total = (Supply Depot count for player 1, counting Queued Or Better)
It sets the Supply Depot Total variable to the number of Supply Depots for player 1, including ones that are queued/under construction.
The only Variable used is 'Supply Depot Total.'
P.S. You can't use 'Triggering Unit' if such a unit doesn't exist.
For example, if I used "Event - A Unit Gained an Experience Level," Triggering Unit would return the unit that leveled up. Your trigger is initiated when a second passes in-game - no unit is *triggering* anything.
Hope this helps.
This was perfect I tried both ways and it seems that this method was the best. Thanks everyone.
I have countlessly tried loads of ways to allow the trigger to count the amount of [Supply Depots] and then +1 onto a global variable.
--------------------
SupplyCount = 0 < Integer >
SupplyDepots = ("Supply Depot" from the Global data table) <Unit>
Count # of Supply
--- Events
Timer - Every 1.0 seconds of Game Time
--- Actions
----General - If (Conditions) then do (Actions) else do (Actions)
If
--- (Triggering unit) == SupplyDepots
Then
--- Variable - Modify SupplyCount + 1
---------------
It just doesn't work also please note I have not listed every method I have tried - but I am seriously stuck which is why I am posting here, please help.
0
Much thanks will try the..
Hide Race Dialog for (Player group((Triggering player)))
and get back to you if it doesn't work.
0
I have a dialog, works great spawns unit for the triggering unit.
But I have one problem and that is this: Dialog - Destroy "Race Dialog"
I need something like Dialog - Destroy "Race Dialog" for triggering player so does anyone have a method of doing this? or am I doing it all wrong?
Here is a picture of the trigger: A link to the picture.. http://www.karkand.co.uk/MyTrigger.png
0
This was perfect I tried both ways and it seems that this method was the best. Thanks everyone.
0
0
Killarag | 866 | EU | I have knowledge of the map editor, and would love to contribute to anyone who would like it.