- Joined
- Jul 15, 2010
- Messages
- 3
Ive been trying to fix some desyncing issues within a map of mine and ive been doing some searching on specifically which triggers/functions can cause a desync. After looking through my map I have no use of getlocalplayer and triggerplayer but I do have ownerofunit numerous times. Below is an example of what I have used it for. Im wondering if that could be the cause of my random desyncs at random intervals throughout the game play and also if there are any other specific functions with any given parameters that can cause desyncs. What should I be looking for to solve my desyncing issue?
-
Set UnitGruopFight = (Units in Fight Place 1)
-
Unit Group - Pick every unit in UnitGruopFight and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Picked unit)) Not equal to PokeBall
-
-
Then - Actions
-
Set CentrePoint[1] = (Position of (Picked unit))
-
Unit - Hide (Picked unit)
-
Unit - Pause (Picked unit)
-
Unit - Create 1 (Unit-type of (Picked unit)) for (Owner of (Picked unit)) at CentrePoint[1] facing Default building facing degrees
-
Custom script: call RemoveLocation(udg_CentrePoint[1])
-
-
Else - Actions
-
-
-