Tyman2007
Ya Rly >.
- Reaction score
- 74
Hi there, I've been gone for quite some time, so can i have a basic vJass trigger? something that does nearly nothing that's fully functional so i can get back into coding.
scope Lol initializer Init
private function Actions takes nothing returns boolean
call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "Lol, a unit dieded.")
return false
endfunction
private function Init takes nothing returns nothing
local trigger t = CreateTrigger()
local integer i = 0
loop
exitwhen i == 16
call TriggerRegisterPlayerUnitEvent(t, Player(i), EVENT_PLAYER_UNIT_DEATH, null)
set i = i + 1
endloop
call TriggerAddCondition(t, Condition(function Actions))
endfunction
endscope