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
m (Categorising.)
m (Updating -Maps/)
Line 3: Line 3:
 
{{SideBar|Map-specific INI sections|Template:Mapping}}
 
{{SideBar|Map-specific INI sections|Template:Mapping}}
  
CellTags bind a [[Maps/Tags|Tag]] (and through them, a [[Maps/Triggers|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 [[Maps/Events|Events]].
+
CellTags bind a [[Tags|Tag]] (and through them, a [[Triggers|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]].
  
 
__TOC__
 
__TOC__
Line 27: Line 27:
 
|-
 
|-
 
! {{Anchor|COORDS|ts}}
 
! {{Anchor|COORDS|ts}}
| This is a number that stores the coordinates of the target cell. Their format depends on the value of [{{Tt|[[Maps/Basic|Basic]]}}] {{arr|r}} {{TTL|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|TAG_ID|ts}}

Revision as of 16:12, 23 June 2008

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


CellTags
Sidebar/Default

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

TD/CO

RA/CS/AM

TS/FS/RA2/YR

The [CellTags] section takes the following format:

[CellTags]
COORDS=TAG_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.
TAG_ID The Tag's ID. This refers to the Tag, and through it a Trigger, that should be notified when this CellTag is activated.