A brush that triggers an event as many times as the player walks across it.

This can be used to spawn a monster, end a level (in conjunction with a target_changelevel), start or stop machines, open or close doors, etc. Any entity that can be targeted, including sounds, can be set off by trigger_multiple.

1.Firstly, create a good sized room (300x300x300) and place a info_player_start in there. Separate the room in half with another wall, but leave a 128x128 doorway in the middle. Place a light on both sides of the middle wall so you can see what the heck is goin on in there.

2.Create a normal door in the opening and give it a "targetname" of "door" and a "wait" of "-1" so it stays open after triggering, and a "spawnflags" of "32" for 'toggle'.

3.Create another brush that crosses the length of the room where the player will walk through it. Give this brush the TRIG texture (its in all of the e*u* texture sets).

4.Apply the trigger_multiple entity to this new brush. This will automatically cause it to not be drawn in the game. Give it a "target" of "door" and a "wait" of "3" which prevents it from triggering again for about 3 seconds.

5.Compile and run the map. When you cross the trigger brush the door will open. Wait a few seconds and then cross the trigger brush again and the door will shut. It will do this for as many times as you cross the brush.

Here's an example map (the one shown in the picture above) showing a trigger_multiple.

Comments & Questions to
Quake Workshop