Siretu
Starcraft 2 Editor Moderator
- Reaction score
- 293
This function:
Gives the error, expected "takes". It already says takes. What's the problem?
Code:
function stone wall takes nothing returns boolean
if ( not ( udg_StoneAmount[GetPlayerId(GetOwningPlayer(GetTriggerUnit())) + 1] == 1 )) then
return false
endif
return true
endfunction