Skip to content

GetEntityMapIndexBlock

16.5

Class Documentation

Edit documentation

A game entity block that writes the map index of Entity to the MapIndex int variable.

If the entity's template stores a nonzero map index, the block writes that value. Otherwise the block finds the map regions whose bounding box contains the entity position and writes the index of the region whose center is nearest to the entity. If no region contains the entity, the block writes 0.

Properties

MapIndex

Embed<IntTableSet> = { "Table": {}, "Var": "" }
Add documentation

No documentation available yet. Click "Add documentation" to contribute!