Difference between revisions of "TAG"
(Tag: Visual edit) |
|||
Line 13: | Line 13: | ||
<div><center> | <div><center> | ||
{| class="rts" rules="all" | {| class="rts" rules="all" | ||
− | {| style="background:#ffc; | + | |} |
+ | {| class="wikitable sortable" style="background:#ffc;" | ||
+ | |+RTS Type IDs | ||
| Type | | Type | ||
| Description | | Description | ||
Line 52: | Line 54: | ||
</center> | </center> | ||
− | There are additional line-types (e.g. ones which can DISABLE scripts). | + | <nowiki><div style="background: #f2e0ce; border: 2px solid #bfb1a3; padding: 0.6em; margin-top: 0.8em;">'''</nowiki>There are additional line-types (e.g. ones which can DISABLE scripts). See [[LINES]].DDF for the full list..<nowiki>'''</nowiki><nowiki></div></nowiki> |
− | |||
− | See [[LINES]].DDF for the full list. | ||
</div> | </div> |
Revision as of 15:31, 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 |
<div style="background: #f2e0ce; border: 2px solid #bfb1a3; padding: 0.6em; margin-top: 0.8em;">'''There are additional line-types (e.g. ones which can DISABLE scripts). See LINES.DDF for the full list..'''</div>