Moderator
M
(1 ratings)
Thank you. But I havent thought of a cool name for this spell. The trigger is very simple, it is too embarassing
Call RemoveLocation(udg_PointVariable)//Replace PointVariable with your point variable
Perfectionbasic stuff has to be -perfect- to be approved
it remains until Mod approve or reject/needs fix your resources, an approved spell don't have tags and a rejected/needs fix have their respective tag on the spell.Why is there a word "Pending" ?? how do i remove it?
I thought you were only able to use 'triggering player' with player events, not unit events?^ Even better:
(Owner of (tempUnit)) -> (Triggering player)
function Trig_Untitled_Trigger_002_Actions takes nothing returns nothing
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_002 takes nothing returns nothing
set gg_trg_Untitled_Trigger_002 = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Untitled_Trigger_002, EVENT_PLAYER_UNIT_DEATH )
call TriggerAddAction( gg_trg_Untitled_Trigger_002, function Trig_Untitled_Trigger_002_Actions )
endfunction