====== Activationrequirements (XG) ======
An [[xg:line_type|Line Type]] can specify several requirements that must be met for the [[activation]] or [[deactivation]] of the line to succeed. These include for instance event type,... ctivator.
===== Requirements =====
To set the requirements for activation and deactivation within a [[line_type|Line Type]] definition, use the Flags property of the ... Extended requirements =====
To set the extended requirements for (De)activation within an Line Class definition use Flags2 eg:
Flags2 = flaga
====== XG triggers ======
An [[xg:line_type|Line Type]]'s [[xg:line_activation|activation type]] concerns the event(s) that lead to the //triggering// of the... possible to assign multiple trigger events to an XGline and freely mix n' match activation/deactivation trigger events.
An example would b... ent type" (see below), the current "state" of the line (ie active/inactive) and the [[xg:activationrequirements]].
In order to function correctly an XGline definition **MUST** specify at least one trigger event and o
ere is a lot to learn.
===== Overview =====
[[xg:line_type|Line type]]s separate the [[xg:triggers|activation method]], [[xg:activation_requirement|activationrequirements]] and the [[xg:refs|effects]] of the line. It is possible to create 'chains' of line types, which effectively combine many types... ggered**, and the initial state of a line.
* [[xg:activation_requirement|Activation and deactivation requirements]] - Required **conditions** for triggering an action.
* [[xg:line_activation|Behaviors]] - How the line should **behave** when activated/deactivated.
====== Lineactivation (XG) ======
In [[XG]], a [[line]] has a state, it is always either //active// or //inactive//.
... ate inactive lines and deactivate active ones.
A line type can specify several [[activationrequirements]] that must be met for the activation or deactivation of the line to succeed. These inc... y Trigger', it is ignored by default when testing activationrequirements for XGline types. Use this flag to allow the 'Any Trigger' flag to override XG's activator type requirements.
===== See also =====
=== Available chains =====
^ Name^ Actioned |
| Activation (Act.)| When a trigger line type is [[xg_line_activation|activated]]. |
| Deactivation (Deact.)| When a trigger line type is [[xg_line_activation|deactivated]]. |
| Event| When a trigger line typ... chain. If the event passes (i.e., it meets the [[xg_line_activation_requirements|(de)activationrequirements]] of the chained type) further processing won't b... effect this allows for alternate functions and/or activation methods/requirements for a single line type.
===== Sector Type Chains =====
aware, that we will be chaining together multiple XG [[xg:line_type|line types]] to create a re-usable lock mechanism that... === Explanation ====
Notice that there are no [[xg:triggers|(de)activation trigger]]s specified at all (normally, a linetype requires at least one trigger, for example [[xg:triggers#player_cross|player_cross]]). As our swi
ayed when the player crosses a linedef whose type activation method is "player_cross" and one or more key requirements are set which the player does not have (http://so... XS_GetType.
* If a map number is not set in an XG end_level line type the exit would take the player to the first ... 045&group_id=74815).
* Giving armour using the XG power line type would only work as expected if the player ha... emented by one.
=== XG ===
* Thinking for [[xg_line_type]]s and [[xg_sector_type]]s now handled using