ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "CellTags"

From ModEnc
Jump to: navigation, search
(Updating with new sidebar + anchors)
({{ts}}, {{fs}}, {{ra2}}, {{yr}})
Line 18: Line 18:
  
 
  [CellTags]
 
  [CellTags]
  COORDS=TAG_ID
+
  COORDS=TRIGGER_ID
  
 
{| style="width: 80%" border=1 class="table_descrowdesccol"
 
{| style="width: 80%" border=1 class="table_descrowdesccol"
Line 28: Line 28:
 
| This is a number that stores the 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|X * 128 + Y}}, otherwise it's {{Tt|X * 1000 + Y}}. The X and Y coordinates can be seen in the status bar when hovering the mouse over the cell in [[FinalSun]]/[[FinalAlert 2]].
 
| This is a number that stores the 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|X * 128 + Y}}, otherwise it's {{Tt|X * 1000 + Y}}. The X and Y coordinates can be seen in the status bar when hovering the mouse over the cell in [[FinalSun]]/[[FinalAlert 2]].
 
|-
 
|-
! {{Anchor|TAG_ID|ts}}
+
! {{Anchor|TRIGGER_ID|ts}}
| The Tag's ID. This refers to the Tag, and through it a Trigger, that should be notified when this CellTag is activated.
+
| The Tag's ID. This refers to the Trigger, that should be notified when this CellTag is activated.
 
|}
 
|}
  
 
[[Category:Map Information]]
 
[[Category:Map Information]]

Revision as of 02:20, 9 August 2013

This page should correctly be named "[CellTags]"; it is wrong due to technical restrictions.


CellTags bind a Tag (and through them, a Trigger) with a map cell. When something enters this cell/crosses its vertical or horizontal coordinate, they notify their Tag's Trigger of this, thus possibly activating some of its Events.

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=TRIGGER_ID
Meanings of each string
String Meaning
COORDS This is a number that stores the coordinates of the target cell. Their format depends on the value of [Basic]NewINIFormat= : when it's less than four, the number is X * 128 + Y, otherwise it's X * 1000 + Y. The X and Y coordinates can be seen in the status bar when hovering the mouse over the cell in FinalSun/FinalAlert 2.
TRIGGER_ID The Tag's ID. This refers to the Trigger, that should be notified when this CellTag is activated.