Jump to content

CellTags

From ModEnc²
Revision as of 17:33, 14 October 2020 by en>E1 Elite
This page should correctly be named "[CellTags]"; it is wrong due to technical restrictions.



Map-specific INI sections

CellTags attach a Tag to a map cell. It is used to trigger the associated event when a unit enters this cell or crosses its vertical/horizontal coordinate.

Section

Tiberian Dawn

Red Alert, Counterstrike, Aftermath

Tiberian Sun, Firestorm, Red Alert 2, Yuri's Revenge

The [CellTags] section takes the following format:

[CellTags]
COORDS=TAG_ID
Meanings of each string
String Meaning
COORDS Coordinates of the target cell. Their format depends on the value of [Basic]NewINIFormat= : when it's less than four, the number is Y * 128 + X , otherwise it is Y * 1000 + X.
TAG_ID The attached TAG ID, that should be notified when this CellTag is activated.