er2.getMapCenter 3

Available from Easy Red 2 2.1.1

The centre of the playable terrain, in world coordinates. Use it as the origin when you generate something procedurally instead of hard-coding positions that only work on one map.


Return value

Return TypeDescription
voidThe middle of the map.

No parameters defined for this function.


Examples

No examples available.


Back to Scripting API