- Joined
- Nov 29, 2006
- Messages
- 2,482
Hm, I can't find any thing wrong with the codes I did below.
Suggestions anyone?
JassCraft is returning an error message saying Undefined function on the
Oh and, what does the message mean?
What is wrong :S? Maybe I might have missed something...
/regards
Suggestions anyone?
JASS:
function InitVehicles takes nothing returns nothing
local group g = CreateGroup()
local boolexpr e = Condition(function HasVehicleValue)
call GroupEnumUnitsOfPlayer(g, Player(15), e)
call DestroyBoolExpr(e)
// more codes
set e = null
endfunction
function HasVehicleValue takes nothing returns boolean
return GetUnitAbilityLevel(GetFilterUnit(), 'A002') != 0
endfunction
JassCraft is returning an error message saying Undefined function on the
local boolexpr e = Condition(function HasVehicleValue)
line.Oh and, what does the message mean?
What is wrong :S? Maybe I might have missed something...
/regards