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

Referencing (maps)

From ModEnc
Revision as of 12:27, 14 September 2006 by DCoder (talk | contribs) (Created (as a blob for inclusion on TS-YR Ev/Ac pages))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Referencing items
As you probably noticed, some of the Parameter descriptions in this table end with "#". The reason for that is:

The parameters referring to objects that are restricted to having only hexadecimal identifiers (Tags, Triggers, Events, TeamTypes) refer to them by their ID, but the parameters referring to other objects (those which can have non-numeric IDs), refer to them by their index in the corresponding ObjectList. For example, a parameter requiring "TeamType ID" should get the TeamType's ID (eg, 12AC14FF), but a parameter asking for an "Infantry#" should get that particular infantry's index in the InfantryTypes list, not its ID.
For convenience, if the parameter's description in the table ends with a "#" symbol, you should use the object's index, otherwise you should use its ID.

Template:NeedTesting This poses the question, what happens if you create a TeamType that has a non-hexadecimal identifier and invoke it through such an Event or Action?