Ok I got this small problem once again^^ I must have coded wrong but I don't know how to fix it.. The error only says "Syntax error"=/
Any help would be mostly apriciated:thup:
Thanks on beforehand, have a nice continiued evening^^
JASS:
scope Lightnings
private function Conditions takes nothing returns boolean
return GetSpellAbilityId() == 039;AEbl039;
endfunction
private function Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(( 0 , 0), "Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl" )
call CreateNUnitsAtLoc( 1, 039;hfoo039;, Player(0), PolarProjectionBJ(0,0), 256, 0), bj_UNIT_FACING )
endfunction
//===========================================================================
public function InitTrig takes nothing returns nothing
local trigger trig = CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(trig, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition (trig, Condition (function Conditions ) )
call TriggerAddAction (trig, function Actions )
endfunction
endscope
Any help would be mostly apriciated:thup:
Thanks on beforehand, have a nice continiued evening^^