kallieblakie
New Member
- Reaction score
- 5
What is the maximum number of local variables that a function can have?
I've got this number of local variables in a function, and when I try to add one more, WE shuts down. $%^&*($%^&
any idea?
JASS:
local timer Loop = GetExpiredTimer()
local unit arrow = GetHandleUnit(Loop, "arrow")
local real Angle = GetHandleReal(Loop, "Angle")
local integer Range = GetHandleInt(Loop, "Range")
local real Speed = GetHandleReal(Loop, "Speed")
local integer PlayerNo = GetHandleInt(Loop, "PlayerNo")
local real distanceCurrent = GetHandleReal(Loop, "distanceCurrent")
local location C = GetUnitLoc(arrow)
local location Next
local boolexpr b = Condition(function Arrow_Filter)
local real x
local real y
local group g = CreateGroup()
I've got this number of local variables in a function, and when I try to add one more, WE shuts down. $%^&*($%^&
any idea?