Tag:

number


This is the exact same thing as assigning a trigger number to a line and matching sector in your map editor (like you would to trigger an opening door by walking over a trigger line).

You must create a special line type in LINES.DDF that uses the function radius_trigger=enable_tagged; or radius_trigger=disable_tagged (you can enable or disable a radius trigger).

Then, assign a line in your map editor. Use this number for the number value.

ex.

LINES.DDF:

    [200]
    type=walk;
    radius_trigger=enable_script;

MAP EDITOR:

Tag a line with line type 200, and a target #, like 25

SCRIPT:

    radiustrigger
    tag 25
    tagged_immediate
    tip "a door opens nearby." 3 true
    end_radiustrigger


When the line with linetype of 200 assigned to it is triggered, the assigned number 25, which matches your tag number in your script, causes that trigger to activate.