- Joined
- Apr 27, 2012
- Messages
- 241
Hello folks,
I made a squad system. All units in a squads share the same custom value.
When the squad is selected, all except for the designated 'leader' unit are deselcted via trigger. To keep the illusion, a selection circle graphic is created on the deselected squad memebers. These circles shall not be visible to other players, naturally. So I used ''Get Local Player.'' But it causes desyncs then (meaning it disconnects a player)
This is what it looks like (more or less):
I also tried using an ability that does nothing but adds a special effect to the unit:
Help please. Those damn desyncs, why ain't there an action to simply disable them. I mean, it limits the game. I don't use the 'Get Local Player'-Function in a way that actually would influence the Synchronisation of the game. I just want graphics to be shown to one player only. Damn you Blizzard!!
+rep for helpers
I made a squad system. All units in a squads share the same custom value.
When the squad is selected, all except for the designated 'leader' unit are deselcted via trigger. To keep the illusion, a selection circle graphic is created on the deselected squad memebers. These circles shall not be visible to other players, naturally. So I used ''Get Local Player.'' But it causes desyncs then (meaning it disconnects a player)
This is what it looks like (more or less):
- Set PlayerVariable = Triggering Player
- Custom Script: if GetLocalPlayer() == udg_PlayerVariable then
- Special Effect - Create Special Effect XY on unit
- Custom Script: endif
I also tried using an ability that does nothing but adds a special effect to the unit:
- Set PlayerVariable = Triggering Player
- Custom Script: if GetLocalPlayer() == udg_PlayerVariable then
- Unit - Add AbilityXY to UnitXY
- Custom Script: endif
Help please. Those damn desyncs, why ain't there an action to simply disable them. I mean, it limits the game. I don't use the 'Get Local Player'-Function in a way that actually would influence the Synchronisation of the game. I just want graphics to be shown to one player only. Damn you Blizzard!!
+rep for helpers