- Joined
- Jun 10, 2008
- Messages
- 1,399
Just wondering..
Why does this desync? There is technically no hanles inside of the "If" so it should not desync, but it does, any ideas?
PS: This is a test trigger, dont bother inlining it.
JASS:
function Trig_Untitled_Trigger_002_Actions takes nothing returns nothing
local string s = "units\\human\\Rifleman\\Rifleman.mdl"
if GetLocalPlayer() != Player(1) then
set s = ""
endif
call AddSpecialEffect(s, -11133.8, -12299.7)
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_002 takes nothing returns nothing
set gg_trg_Untitled_Trigger_002 = CreateTrigger( )
call TriggerAddAction( gg_trg_Untitled_Trigger_002, function Trig_Untitled_Trigger_002_Actions )
endfunction
Why does this desync? There is technically no hanles inside of the "If" so it should not desync, but it does, any ideas?
PS: This is a test trigger, dont bother inlining it.