Weapon grenade: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
||
Line 2: | Line 2: | ||
[[File: weapon_grenade.png | right | 300px]] | [[File: weapon_grenade.png | right | 300px]] | ||
{{ | {{this is a|point|name=weapon_grenade|game=SiN Episodes}} The player can carry max 5 incendiary grenades at once and it uses no ammo but instead counts as an ammo supply by itself. See [[Sin_Episodes_Weapons#incendiary_grenades | SiN Episodes Weapons]] for more information about this weapon. | ||
__TOC__ | __TOC__ |
Revision as of 13:18, 4 January 2024
weapon_grenade
is a point available in SiN Episodes. The player can carry max 5 incendiary grenades at once and it uses no ammo but instead counts as an ammo supply by itself. See SiN Episodes Weapons for more information about this weapon.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
- 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.
Weapon:
Flags
- 1 : Start Constrained. Prevents the model from moving.
Inputs
Base:
- AddOutput <string >
- Evaluates a keyvalue/output on this entity.
Format:<key> <value>
Format:<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite>
- FireUser1 to FireUser4
- Fire the
OnUser
outputs; see User Inputs and Outputs.
- Kill
- Removes this entity and any entities parented to it from the world.
- KillHierarchy
- Functions the same as
Kill
, although this entity and any entities parented to it are killed on the same frame, being marginally faster thanKill
.
Outputs
Weapon:
- OnNPCPickup
- Fires when an NPC picks up this weapon. (!activator is the NPC)
- OnPlayerUse
- Fires when the player +uses this weapon. (!activator is the player.)
- OnPlayerPickup
- Fires when a player picks up this weapon. (!activator is the player.)
Targetname:
- OnUser1 to OnUser4
- These Outputs each fire in response to the firing of the like-numbered
FireUser1
toFireUser4
Input; see User Inputs and Outputs.
- OnUse
- Fired when the
Use
input is given.