- Joined
- Mar 3, 2006
- Messages
- 1,564
JASS:
function Trig_jass_Actions takes nothing returns nothing
CreateUnitAtLoc( Player(0) , ABOMINATION , GetRectCenter(GetPlayableMapRect()) , 0.00 )
endfunction
//===========================================================================
function InitTrig_jass takes nothing returns nothing
set gg_trg_jass = CreateTrigger( )
call TriggerRegisterPlayerEvent( gg_trg_jass,Player(0),EndCinematicScene)
call TriggerAddAction( gg_trg_jass, function Trig_jass_Actions )
endfunction
Every time I save the map I get errors, whats wrong with the codes ?