I want to do the following but I'm not sure if it's possible:
A unit uses an ability on the ground.
The x and y of the targetted area are called Dat.x and Dat.y.
A unit uses an ability on the ground.
The x and y of the targetted area are called Dat.x and Dat.y.
JASS:
call GroupEnumUnitsInRange(Dat.g, Dat.x, Dat.y, 130., Bool)
if FirstOfGroup(Dat.g) == null then
/// Reset Cooldown and give a yellow text message just like you
/// would get if you tried to cast the spell on a wrong target.
endif