Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:Converts the grid coordinates to in-game position.

Syntax

Syntax:gridToPosition gridPosition
Parameters:
  • gridPosition : String - Grid position (must be within map bounds). Grid string should be 6 characters in V1.19 and lower, and 6 or more characters in V1.20+.
Return Value:Position2D - The [x, y] lower left corner of specified grid cell. The return values for illegal input are not defined.

Examples

Examples:
_pos = gridToPosition "02518205"

Additional Information

See also: gridCenterToPosition, positionToGrid, coordToPos
Multiplayer: 
Problems: 

Notes