- Joined
- Mar 25, 2016
- Messages
- 1,327
I encountered a strange behaviour when I made a trigger in my map. When I use call SyncSelections() in this trigger I get weird results. SyncSelections() is part of the action
Here are debug messages that show the different results with and without SyncSelections().
-
Unit Group - Pick every unit in (Units currently selected by Player 1 (Red)) and do (Actions)
-
Loop - Actions
-
Here are debug messages that show the different results with and without SyncSelections().
Normal intended result:
Result with call SyncSelections():
Code:
Wait: 1 TimeLine:1 Time:1.000
Wait: 1 TimeLine:1 Time:0.500
Result with call SyncSelections():
Code:
Wait: 1 TimeLine:1 Time:1.000
Wait: 1 TimeLine:2 Time:1.000
Wait: 1 TimeLine:3 Time:0.500
Wait: 1 TimeLine:4 Time:1.000
Wait: 1 TimeLine:5 Time:1.000