From Valve Developer Community
Revision as of 10:33, 4 July 2019 by Soer4769 (Created base weapon template for weapons in Sin Episodes)
- Pitch Yaw Roll (Y Z X)
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
- 1 : Start Constrained. Prevents the model from moving.
- Evaluates a keyvalue/output on this entity.
<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite>
- Fire the
OnUseroutputs; see User Inputs and Outputs.
- Removes this entity and any entities parented to it from the world.
- Functions the same as
Kill, although this entity and any entities parented to it are killed on the same frame, being marginally faster than
- Fires when an NPC picks up this weapon. (activator is the NPC)
- Fires when the player +uses this weapon. (activator is the player)
- Fires when a player picks up this weapon. (activator is the player)
- These Outputs each fire in response to the firing of the like-numbered
FireUser4Input; see User Inputs and Outputs.
- Fired when the
Useinput is given.