TAG

From 3DGE Wiki
Revision as of 15:28, 3 October 2016 by Corbin (talk | contribs)

Jump to: navigation, search

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.