#detect outside of map

1 messages · Page 1 of 1 (latest)

lean cobalt
#

Is there a way to check whether a unit has left the map or is outside the map bounds?
Because in the current condition, players cannot hit creatures that are outside the map.

strange kayak
#

pos.x > max_map_x or pos.x < -max_map_x

#

and same for y

lean cobalt