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

Events/TD: Difference between revisions

From ModEnc
Jump to navigation Jump to search
m Restyled yet again... I really think this style is satisfactory
Nighthawk200 (talk | contribs)
mNo edit summary
Line 125: Line 125:


{{Fn|3|P0 in this document refers to the parameter labeled "EVENT_PARAMETER" in the [[Maps/Triggers#TD.2FCO|Triggers]]  page.}}
{{Fn|3|P0 in this document refers to the parameter labeled "EVENT_PARAMETER" in the [[Maps/Triggers#TD.2FCO|Triggers]]  page.}}
[[Category:Map_Information]]

Revision as of 17:14, 29 April 2007

In TD, Events were a part of the [Triggers] section, and the triggers could have only one event. The following Events were available:

Code 1 Event Parameter (P03) type
None None 0
No Event - cannot be activated
Player Enters Player Enters 0
Player enters attached celltag/captures attached building
Discovered Discovered 0
Player reveals shroud covering this object
Attacked Attacked 0
Attached object gets attacked by any house
Destroyed Destroyed 0
Attached object is destroyed
Any Any 0
Unknown
House Discov. House Discov. 0
HOUSE2 has been seen by the player
Units Destr. Units Destr. 0
All units of HOUSE are destroyed
Bldgs Destr. Bldgs Destr. 0
All buildings of HOUSE are destroyed
All Destr. All Destr. 0
All objects of HOUSE are destroyed
Credits Credits Credits
Player has at least as many credits as P0 specifies
Time Time time
The amount of time specified by P0 has passed since this mission started
# Bldgs Dstr. # Bldgs Dstr. number
The amount of structures (owned by HOUSE) specified by P0 have been destroyed
# Units Dstr. # Units Dstr. number
The amount of units (owned by HOUSE) specified by P0 have been destroyed
No Factories No Factories 0
HOUSE doesn't have any Construction Yards/Barracks/Weapons Factories left
Civ. Evac. Civ. Evac. 0
Civilians have been evacuated (See Template:TTL)
Built It Built It Structure#
HOUSE built the structure P0
Code 1 Event Parameter (P03) type

Events took one parameter, which, if unused, had to be set to 0.

Notes

The parameter is an unsigned integer, meaning all objects like structures, houses, etc. are referenced by their internal indexes. Those internal indexes are listed here.

1 This column specifies the code to be written in the Trigger's EVENT slot, including the trailing dot where appropriate.

2 HOUSE in this document refers to the house owning the Trigger, labeled "HOUSE" in the Triggers page.

3 P0 in this document refers to the parameter labeled "EVENT_PARAMETER" in the Triggers page.