ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Events/RA2YR: Difference between revisions
< Events
EvilRenegade (talk | contribs) m Replacing Template:TTL with Template:F. |
No edit summary |
||
Line 276: | Line 276: | ||
| rowspan="2" style="border-right: 1px solid #aaaaaa; text-align: center; vertical-align: top;" | {{Tt|23}} | | rowspan="2" style="border-right: 1px solid #aaaaaa; text-align: center; vertical-align: top;" | {{Tt|23}} | ||
| style="padding-left: 3px;" | {{Tt|Leaves map (team)}} | | style="padding-left: 3px;" | {{Tt|Leaves map (team)}} | ||
| style="text-align: center;" | | | style="text-align: center;" | 1 | ||
| style="text-align: center;" | | | style="text-align: center;" | TeamType ID | ||
| style="text-align: center;" | - | | style="text-align: center;" | - | ||
|- | |- | ||
| style="border-top-style: hidden; padding-left: 3em;" | TeamType with | | style="border-top-style: hidden; padding-left: 3em;" | TeamType with ID P2 leaves the map | ||
| style="border-top-style: hidden;" | | | style="border-top-style: hidden;" | | ||
| style="border-top-style: hidden;" | | | style="border-top-style: hidden;" | | ||
Line 699: | Line 699: | ||
| rowspan="2" style="border-right: 1px solid #aaaaaa; text-align: center; vertical-align: top;" | {{Tt|60}} | | rowspan="2" style="border-right: 1px solid #aaaaaa; text-align: center; vertical-align: top;" | {{Tt|60}} | ||
| {{Tt|TechType Exists}}{{yro}} | | {{Tt|TechType Exists}}{{yro}} | ||
| style="text-align: center;" | | | style="text-align: center;" | 2 | ||
| style="text-align: center;" | counter | | style="text-align: center;" | counter | ||
| style="text-align: center;" | Building ID | | style="text-align: center;" | Building ID | ||
Line 710: | Line 710: | ||
| rowspan="2" style="border-right: 1px solid #aaaaaa; text-align: center; vertical-align: top;" | {{Tt|61}} | | rowspan="2" style="border-right: 1px solid #aaaaaa; text-align: center; vertical-align: top;" | {{Tt|61}} | ||
| {{Tt|TechType does not Exist}}{{yro}} | | {{Tt|TechType does not Exist}}{{yro}} | ||
| style="text-align: center;" | | | style="text-align: center;" | 2 | ||
| style="text-align: center;" | 0 | | style="text-align: center;" | 0 | ||
| style="text-align: center;" | Building ID | | style="text-align: center;" | Building ID |
Revision as of 20:39, 8 September 2012
Events are a separate section like in TS, so Triggers can have multiple Events with up to two/three parameters. The game assumes the Trigger, Event and Action all share the same ID. So a Trigger which has ID 12451245 uses the Event list with ID 12451245.
Events take two parameters (third parameter - string - is needed for events #60 and #61), which default to 0.
Notes
1 ↑ This column specifies the code to be written in the Event's "condition" slot, e.g. E1 in the Events page.
2 ↑ HOUSE in this document refers to the house owning the Trigger, labeled "HOUSE" in the Triggers page.
- Referencing items
- As you probably noticed, some of the Parameter descriptions in this table end with "#". The reason for that is:
- Some parameters take their values to be indexes of objects, others assume they are the identifiers of those objects.
- For convenience, if the parameter's description in the table ends with a "#" symbol, you should use the object's index in its appropriate list, otherwise you should use its ID.
- Also note: All entries in column P7 are expected to be literal, so you have to convert all the numbers into letters like this:
- 0 is "A", 1 is "B", 25 is "Z", 26 is "AA", just like the columnm numbering in your favourite spreadsheet program.