- Joined
- Aug 8, 2010
- Messages
- 1,022
Sup, guys! I have a really small problem here. I have a desync in a trigger that doesn't even use local player...
It's related to my shop category system (for my map).
Here is the trigger :
The funny thing is that this trigger does not desync
:
Can someone explain or anything? 

Here is the trigger :
-
Shop Cancel
-
Events
-
Unit - A unit Sells a unit
-
-
Conditions
-
(Unit-type of (Sold unit)) Equal to Cancel
-
-
Actions
-
Unit - Remove (Sold unit) from the game
-
Set Location = (Position of (Selling unit))
-
Set UnitGroup = (Units within 50.00 of Location matching ((Level of Select Hero [Arrow] for (Matching unit)) Not equal to 0))
-
Custom script: call RemoveLocation(udg_Location)
-
Selection - Select UnitGroup for (Owner of (Buying unit))
-
Custom script: call DestroyGroup(udg_UnitGroup)
-
-

-
Shop Cancel
-
Events
-
Unit - A unit Sells a unit
-
-
Conditions
-
(Unit-type of (Sold unit)) Equal to Cancel
-
-
Actions
-
Unit - Remove (Sold unit) from the game
-
Set Location = (Position of (Selling unit))
-
Set UnitGroup = (Units within 50.00 of Location matching ((Level of Select Hero [Arrow] for (Matching unit)) Not equal to 0))
-
Custom script: call RemoveLocation(udg_Location)
-
Unit Group - Pick every unit in UnitGroup and do (Actions)
-
Loop - Actions
-
Selection - Select (Picked unit) for (Owner of (Buying unit))
-
-
-
Custom script: call DestroyGroup(udg_UnitGroup)
-
-
