RegionAddCell

Parameters
whichRegion region

The region to be modified.

x real

The x-coordinate of the cell to be added.

y real

The y-coordinate of the cell to be added.

comment

Adds a single cell to a region.

note

Cells are 32x32 world units and aligned with multiples of 32 in each direction (smallest grid in World Editor).

note

The passed coordinates rounded down to a multiple of 32 are the minimum coordinates of the cell. E.g., (32, 32), (40, 40) and (63, 63) all yield the cell [minX=32, minY=32, maxX=64, maxY=64], (-64, -64), (-40, -40) and (-32, -32) all yield the cell [minX=-64, minY=-64, maxX=-32, maxY=-32].

patch

1.00

Source
common.j
return type
nothing
Source code
native RegionAddCell           takes region whichRegion, real x, real y returns nothing