- Joined
- Jun 30, 2008
- Messages
- 580
JASS:
library test initializer Init
function Actions takes nothing returns nothing
local integer test = 'Aloc'
if GetLocalPlayer() != GetOwningPlayer(gg_unit_Hpal_0000) then
set test = 0
endif
call UnitAddAbility(gg_unit_Hpal_0001, test)
endfunction
//===========================================================================
function Init takes nothing returns nothing
local trigger t = CreateTrigger( )
call TriggerAddAction( t, function Actions )
endfunction
endlibrary
the ID is for locust
Was wondering if this could work? or would it Desync?