Skip to main content

trigger_multiple

trigger_multiple icon
Brush entity

A trigger_multiple is a brush trigger that fires its target each time a player touches it, and then waits before it can fire again. The flags let monsters and other entities fire it too, and its Message only shows when a player fires it.

Attributes​

The entity also has these common keys:

KeyDescriptionDefault
Move withSpirit of Half-Lifemovewith

Names the parent, an entity that this one moves and turns with. The entity keeps the place and the angles it has on the parent in the editor. If several entities have the name, the first one counts. A name ending in .1 to .4 puts a sprite or a model that isn't solid on that attachment point of the model of the parent. A solid brush on a parent that turns needs its own origin brush. Moving objects explains it all.

If you leave this key empty, the entity doesn't move with anything.

Axis locksparentflags

Keeps some of the entity's own position or angles instead of following the parent. Add up the values of the axes to keep: 2 for X, 4 for Y, 8 for Z, 16 for pitch, 32 for yaw and 64 for roll. So 112 keeps the entity level. 0 follows the parent on every axis.

Default 0
Messagemessage

Sets a text that the player who sets off the trigger sees, as plain text or as the name of a message in titles.txt. It shows centered in the lower part of the screen, and monsters and pushables show nothing.

Delay before resetwait

Sets how many seconds pass after it fires before it can fire again. A negative value makes it fire once and then remove itself.

If you leave this key empty or set 0, it is 0.2.

Default 10
Sound to playnoise

Sets a sound that plays at the trigger each time it fires.

Flags​

1Monsters

Monsters set the trigger off too

2No Clients

Players don't set the trigger off

4Pushables

func_pushable boxes set the trigger off too

8Everything elseFeatureful

Every other entity fires it too: anything that isn't a player, a monster, a func_pushable or a trigger, for example a grenade or the touch helper of a func_vehicle

See also​

Changes since 1.38​

  • You can use the new flag Everything else (8)
  • Fixed trigger_once and trigger_multiple never playing their Sound to play. The game never loaded the sound. This was a bug in SBO 1.38