- Joined
- Apr 1, 2019
- Messages
- 156
Using get GetLocalPlayer() will this desync
Or do I have to do this for no desync
I'm still editing and testing in lan on v1.31
- Set TempPointSpell = (Position of (Triggering unit))
- Set Temp_Player = (Owner of (Triggering unit))
- Custom script: if GetLocalPlayer() == udg_Temp_Player then
- Special Effect - Create a special effect at TempPointSpell using Abilities\Spells\Human\ReviveHuman\ReviveHuman.mdl
- Special Effect - Destroy (Last created special effect)
- Animation - Change Connector Line Gray 0909 <gen>'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
- Animation - Change Connector Line Gray 0912 <gen>'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
- Custom script: end
- Custom script: RemoveLocation(udg_TempPointSpell)
Or do I have to do this for no desync
- Set TempPointSpell = (Position of (Triggering unit))
- Set Temp_Player = (Owner of (Triggering unit))
- Set TempReal = 19.61
- Set TempString = <Empty String>
- Custom script: if GetLocalPlayer() == udg_Temp_Player then
- Set TempReal = 100.00
- Set TempString = Abilities\Spells\Human\ReviveHuman\ReviveHuman.mdl
- Custom script: end
- Special Effect - Create a special effect at TempPointSpell using TempString
- Special Effect - Destroy (Last created special effect)
- Animation - Change Connector Line Gray 0909 <gen>'s vertex coloring to (TempReal%, TempReal%, 100.00%) with 0.00% transparency
- Animation - Change Connector Line Gray 0912 <gen>'s vertex coloring to (TempReal%, TempReal%, 100.00%) with 0.00% transparency
- Custom script: RemoveLocation(udg_TempPointSpell)
I'm still editing and testing in lan on v1.31