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...") |
(No difference)
|
Revision as of 16:39, 8 June 2015
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 |
</span>
There are additional line-types (e.g. ones which can DISABLE scripts). See LINES.DDF for the full list.