give some kind of classification for those particular watchtowers, like ancient or summoned, then add a condition about it to the counter.
((Triggering unit) is An Ancient) Equal to True
If you put multiple events in a trigger that means it will run if any of those event happens.
try this:
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Watch Tower
Actions
Set count = (count + 1)
Events
Game - count...
no, actually its very easy to make this pushback MUI, just implement the sliding in the same trigger instead of a periodic time event in another trigger.
i mean put this to the end of your push back trigger:
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions...
the problem is waits mess up all triggers, during 0,4 seconds all your variabbles can change, and they porbably are changed. For example i guess after 0,4 seconds your (Temp_Group) variable is not what it used to be. You picked up units from Temp_Group but who knows which units are in temp group...
This is a very bad implemetation of the push back effect, the lots of if condition nested in eachother isn't healthy... Not to mention this could not be very accurate. this is my implementation:
Push Back
Events
Unit - A unit Starts the effect of an ability
Conditions...
Okey then the only thing i can think of is that your group somehow changes between 0.10 and 3.00. To debug try to add the gold actions to the first trigger because lots of things can happen during 3 seconds. Better would be to add this line to your pick up player loop:
Display to (all players)...
so basicaly you didnt add any player to player_group[1]... I am surprised that sometimes it works with player 1 (red). I think you dont really know how variables work. may i suggest this tutorial for you:
http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=20023
Here is the solution for your problem:
1 save the units being selected by the player in a variable
2 select the building where you need the process to be aborted for the given player
3 Action - Game - Force UI cancel (for the given player)
4 reselect the saved units
Its very easy:
Set i = 0
Destructible - Pick every destructible within 256 of (something) and do (Actions)
Loop - Actions
If (i Less than AmountIneed) then do (Destructible - Whatever action) else do (Do nothing)
Set i = (i + 1)
- drop some start locations
- set player properties
go to the trigger editor and delete action:
- enforce victory/defeat conditions
- create starting units
- remove creeps and critters from blba blabla,
make a trigger with an event like player 2's food used becomes less then 1 (its in event -...