Difference between revisions of "TAG"
From 3DGE Wiki
(Created page with "<div class="content"> =TAG= '''Usage:'''<br /> TAG <Number> '''Description:'''<br /> This allows a script to be identified with a number, similar to how lines and sect...") |
|||
Line 12: | Line 12: | ||
The following are some common line-types which can be used to enable the script: | The following are some common line-types which can be used to enable the script: | ||
<div><center> | <div><center> | ||
− | {| class="rts" rules="all" | + | {| class="rts" rules="all" |
+ | {| style="background:#ffc; | ||
| Type | | Type | ||
| Description | | Description | ||
Line 48: | Line 49: | ||
| WR | | WR | ||
|} | |} | ||
− | + | ||
</center> | </center> | ||
− | There are additional line-types (e.g. ones which can DISABLE scripts). See [[LINES]].DDF for the full list. | + | There are additional line-types (e.g. ones which can DISABLE scripts). |
+ | |||
+ | See [[LINES]].DDF for the full list. | ||
</div> | </div> |
Revision as of 15:28, 3 October 2016
TAG
Usage:
TAG <Number>
Description:
This allows a script to be identified with a number, similar to how lines and sectors can be given tags in your level editor. It should be used in conjunction with TAGGED_DISABLED or the SLEEP command.
Details:
<Number> is an integer tag number to assign to this script.
The tag allows the script to be enabled from an external source, which could be another script, a linedef on the map, or even a custom DDF thing or weapon using the RTS_ENABLE_TAG() action.
The following are some common line-types which can be used to enable the script:
Type | Description | Activator | Mode |
418 | Enable Tagged RTS | Player | S1 |
419 | Enable Tagged RTS | Player | SR |
420 | Enable Tagged RTS | Player | W1 |
421 | Enable Tagged RTS | Player | WR |
454 | Enable Tagged RTS | Monster | W1 |
455 | Enable Tagged RTS | Monster | WR |
There are additional line-types (e.g. ones which can DISABLE scripts).
See LINES.DDF for the full list.