trigger_once

A trigger_once is a brush trigger that fires its target the first time a player touches it, and then removes itself.
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:
- Naming and triggering: Name, Target, Delay before trigger, KillTarget and Master
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.
parentflagsKeeps 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.
0messageSets 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.
noiseSets a sound that plays at the trigger when it fires.
Flags
1MonstersMonsters set the trigger off too
2No ClientsPlayers don't set the trigger off
4Pushablesfunc_pushable boxes set the trigger off too
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
trigger_multiple- fires again and again- trigger_once on TWHL - the Half-Life entity
Changes since 1.38
- You can use the new flag Everything else (8)
- Fixed
trigger_onceandtrigger_multiplenever playing their Sound to play. The game never loaded the sound. This was a bug in SBO 1.38

