the Immortal
I know, I know...
- Reaction score
- 51
It doesn't even deserve to be sent to the JASS section, but I have this:
(I've removed some actions)
I think it should work, but when I try to save it, the WE 'says' "Invalid argument type (void)"
afaik "TriggerSleepAction" takes real ... or what ???
Code:
local real MaxDist = DistanceBetweenPoints(GetUnitLoc( target ), GetSpellTargetLoc())
call TriggerSleepAction( ( MaxDist / 2000.00 ) )
set MaxDist = 0
I think it should work, but when I try to save it, the WE 'says' "Invalid argument type (void)"
afaik "TriggerSleepAction" takes real ... or what ???