cansee
Returns if the given unit can see the other given unit. This is a LOS check.
cansee(unita, unitb) : boolean-- altscanSee(unita, unitb) : boolean
Example
if cansee('player', 'target') then -- Do somethingend
Returns if the given unit can see the other given unit. This is a LOS check.
cansee(unita, unitb) : boolean-- altscanSee(unita, unitb) : boolean
Example
if cansee('player', 'target') then -- Do somethingend