ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Difference between revisions of "CellTags"
From ModEnc
(Created, needs td-ra content) |
m |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{WrongTitle|[CellTags]}} | {{WrongTitle|[CellTags]}} | ||
− | {{ | + | {{MappingBar}} |
− | CellTags | + | CellTags attach a [[Tags|Tag]] to a map cell. It is used to trigger the associated [[Events|event]] when a unit enters this cell or crosses its vertical/horizontal coordinate. |
__TOC__ | __TOC__ | ||
− | |||
== Section == | == Section == | ||
− | === | + | === <span id="td"></span>{{td}} === |
− | === | + | === <span id="ra"></span>{{ra}}, {{cs}}, {{am}} === |
− | === | + | === <span id="ts"></span><span id="ra2"></span><span id="yr"></span>{{ts}}, {{fs}}, {{ra2}}, {{yr}} === |
The [{{Tt|CellTags}}] section takes the following format: | The [{{Tt|CellTags}}] section takes the following format: | ||
Line 27: | Line 26: | ||
|- | |- | ||
! {{Anchor|COORDS|ts}} | ! {{Anchor|COORDS|ts}} | ||
− | | | + | | Coordinates of the target cell. Their format depends on the value of {{sl|Basic|NewINIFormat}} : when it's less than four, the number is {{Tt|Y * 128 + X}} , otherwise it is {{Tt|Y * 1000 + X}}. |
|- | |- | ||
! {{Anchor|TAG_ID|ts}} | ! {{Anchor|TAG_ID|ts}} | ||
− | | The | + | | The attached TAG ID, that should be notified when this CellTag is activated. |
|} | |} | ||
+ | |||
+ | [[Category:Map Information]] |
Latest revision as of 17:33, 14 October 2020
This page should correctly be named "[CellTags]"; it is wrong due to technical restrictions.
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.
Contents
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
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. |