Weapon hegrenade: Difference between revisions
Jump to navigation
Jump to search

mNo edit summary |
Thunder4ik (talk | contribs) m (→Entity description: clean up, added stub tag) |
||
Line 11: | Line 11: | ||
[[Category:Counter-Strike: Source Entities]] | [[Category:Counter-Strike: Source Entities]] | ||
[[Category:Counter-Strike: Source Weapons|H]] | [[Category:Counter-Strike: Source Weapons|H]] | ||
{{stub}} |
Revision as of 01:23, 6 January 2024


Entity description
A frag grenade. Usable by both teams.
KeyValues
CS:S Weapon:
Flags
- Start Constrained : [1]
- Prevents the model from moving.
- Deny Player Pickup : [2] !FGD
- Prevents player from being able to pick up the weapon.
Outputs
CS:S Weapon:
- OnPlayerUse
- Fires when a player +uses this weapon (!activator is the player.). Does not fire if the weapon is picked up successfully.
- OnPlayerPickup
- Fires when a player picks this weapon up (!activator is the player.).
- OnCacheInteraction !FGD
- When dropped, fires every tick on player touch (!activator is the player.).
- OnNPCPickup !FGD
- Fires when an NPC picks up this weapon (!activator is the NPC). Bots are considered players, so this output has no functionality.
Hostages might be NPCs, but they don't pick weapons up.