To Turn On Events Unit - Any Unit Enters Region 001
Local Variables
Conditions (Unit type of (Triggering unit)) != BridgeFloor
Actions Unit Group - Add (Triggering unit) to IsInRegion
General - If (Conditions) then do (Actions) else do (Actions) If (Enters Range is on) == true
Then
Else UI - Display "rawr" for (All players) to Subtitle area
Trigger - Turn Enters Range On
http://pastebin.com/bWskJCT2 Sorry added spaces and stuff and tried to quote but it still put it like that on main post. XD Anyway redid it all on paste bin.
Sorry for the late reply, I have been super super busy. Anyway, I don't think it's the unit groups any more as far as adding and removing... but I have a condition set as IsInRegion == (Empty unit group) And I never receive the chat message that this is suppose to be giving me. I get all prior chat messages tho. And ofc, the message in the then place in that if/then/else action. Really confused here. Also made a periodic trigger that told me if the trigger I'm having these events turn off/ on is still on or not. And it stays on. also made a periodic trigger to tell me how many units are in the group. While the group may be empty (0) it still doesn't recognize this condition as being accurate.
-Solution-
Kay basicly after a lot of testing the IsInRegion == (Empty unit group) doesn't work, Idk if that's intended or not by blizzard, but w/e. I used an integer to do get the right results. Thanks for all the helps.
edit: Okay nvm, I think it's removing them fine, but the adding is messed up for some reason? It's only adding the first unit to it.
Can you paste it with the formatting from the editor? Just a lot easier to read.
@Atl0s: Go
http://pastebin.com/bWskJCT2 Sorry added spaces and stuff and tried to quote but it still put it like that on main post. XD Anyway redid it all on paste bin.
@Skittles17: Go
That is correct if the variable is global. Probably there is an error in other place.
How do you check that some units are missing from this group?
Maybe you can use a "Pick unit (marine 30. 20. 44) from unit group 1, else, play sound "Unit not found"
Not sure but maybe something like that will help you work it out?
@fr0d0b0ls0n: Go
Sorry for the late reply, I have been super super busy. Anyway, I don't think it's the unit groups any more as far as adding and removing... but I have a condition set as IsInRegion == (Empty unit group) And I never receive the chat message that this is suppose to be giving me. I get all prior chat messages tho. And ofc, the message in the then place in that if/then/else action. Really confused here. Also made a periodic trigger that told me if the trigger I'm having these events turn off/ on is still on or not. And it stays on. also made a periodic trigger to tell me how many units are in the group. While the group may be empty (0) it still doesn't recognize this condition as being accurate.
-Solution- Kay basicly after a lot of testing the IsInRegion == (Empty unit group) doesn't work, Idk if that's intended or not by blizzard, but w/e. I used an integer to do get the right results. Thanks for all the helps.