Skip to content

trigger_observer

GeckoN edited this page Jan 31, 2017 · 4 revisions

This entity can send a player into observer mode.

It has 2 modes: square and sphere mode. In square mode, the minimum and maximum bounds are used to define a square. If a player intersects this square, they are sent into observer mode.

In sphere mode, the radius defines the sphere. If a player is inside this sphere, they are sent into observer mode.

Keyvalues

KeyTypeDefaultDescription
Trigger On Made Observertarget_destinationTarget to trigger when a player is made an observer. The player is the activator.
ModechoicesSquareWhich mode to use. Available choices are "Square" and "Sphere".
Square mode Minimum boundsvector-32 -32 -32Minimum bounds to use in Square mode.
Square mode Maximum boundsvector32 32 32Maximum bounds to use in Square mode.
Radiusfloat64Radius of the sphere in Sphere mode.

Spawnflags

Flag #FlagDefaultDescription
1Start On1Whether to start on or not.

Notes

  1. Players will be respawned if observer mode is not active. (mp_observer_mode)
  2. Players may respawn without any weapon upon exiting observer mode.

Clone this wiki locally