- Joined
- Nov 11, 2006
- Messages
- 7,591
I just have a quick, simple question:
Do elseifs work?
Such as if I were to do something like this:
Note: This is just a quick example weird JASS thingy, please don't comment on how stupid it is or how to optimize it, I just want the answer to the question :emote_grin:
Will both "ifs" apply?
Any help is appreciated and rep might be given to those who help. :emote_smile:
Do elseifs work?
Such as if I were to do something like this:
JASS:
function popoo takes nothing returns boolean
if (GetUnitAbilityLevel(GetTriggerUnit(),'A000') == 1 then
elseif IsUnitType(GetFilterUnit(),UNIT_TYPE_DEAD) then
endif
return false
endfunction
Note: This is just a quick example weird JASS thingy, please don't comment on how stupid it is or how to optimize it, I just want the answer to the question :emote_grin:
Will both "ifs" apply?
Any help is appreciated and rep might be given to those who help. :emote_smile: