Tagged Path:

name


The name above references the name of another trigger.

Use the name function to name your radius trigger, then use the tagged_path function to create a path for a monster to follow. This is similar to how Quake makes monsters follow a path before it encounters the player.

Use a spawnthing function to spawn the monster you want to walk the path in the first trigger, as well as tagged_immediate -the monster will go to this trigger first, and then follow the path based on the tagged_path names.

Loop them by referencing the last trigger to the first, like this:
start_map map01

radiustrigger 0 0 1
spawnthing imp 0 0 0 0 0
tagged_immediate
name walk_01
tagged_path walk_02
end_radiustrigger

radiustrigger 100 200 1
name walk_02
tagged_path walk_03
end_radiustrigger

radiustrigger 200 400 1
name walk_03
tagged_path walk_01
end_radiustrigger

end_map
To make them non-looping, omit the last radius trigger's "tagged_path" entry, and the monster will stop there.

You *must* have path_follow in the monsters states in THINGS.DDF -these are the frames used for the tagged_path function. (see DDF Online/THINGS.DDF for more info)

NOTE: it's best to make the radius of this trigger about 10, otherwise the monster following the path will move to the next tagged path as soon as it hits the outer radius. Making the radius a small area forces the monster to a more precise path.