User Tools

Site Tools


4rpl:commands:isv2inmap

Index

IsV2InMap

IsV2InMap(<-position) ->isInMap

Description

Returns true if the x and y elements of the supplied position vector are within the map bounds.

Examples

GetUnitCell(self) ->cellZ ->cellX
V2(<-cellX <-cellZ) ->pos
IsV2InMap(<-pos)

Index

4rpl/commands/isv2inmap.txt · Last modified: 2021/02/07 21:31 by Grabz