Angle Triggers

Eutectic's account:





Name: func_angletrigger



Description: 



Brush or set of brushes which rotate at preset angle intervals and fires its

target at a preset absolute angle value



Bounding box size: none, solid entity



Keys/Attributes:



origin: XYZ coordinate used to specify center of rotation



mangle = desired angle to trigger at (relative to the world!) This value is

         a mangle type (Y Z X). Set only one of the axes depending on what

         axis the trigger is rotating along. Example: If the trigger rotates

         along the Y axis and you want it to fire its target at 120 degrees,

         set the value at 120 0 0



         Note: this entity will fire its target at its preset angle and the

               angle that immediately follows. This is a quirk in the C code.

               There are probably ways to circumvent this if it's a problem



cnt: degrees to turn each move



netname: use this as a unique name for linking to other triggers which have

         the same value



target: targeted entity 



targetname: use when trigger is to be activated or deactivated by a

            trigger_activate or trigger_deactivate entity.



speed: 40 (default) speed of rotation



dmg: damage to inflict when blocked (2 default).



abslight: can make it internally illuminated even in total darkness

          Values are 0-1: 0 is unlighted, 1 is equivalent to 300

                           (value is a percentage of 300)

          0 (default)



Spawnflags:



1 = REVERSE: changes the sign of the flags angle value (positive becomes

             negative and vice versa). This will make it rotate in the

             opposite direction.



2 = X AXIS: object will rotate along the X axis instead of the default Z axis

            Will also override spawnflag 4 if both are set



4 = Y AXIS: object will rotate along the Y axis instead of the default Z axis






Back to the list.