weapon_tmp
Jump to navigation
Jump to search
Class hierarchy |
---|
CWeaponTMP |
weapon_csbasegun.cpp |
weapon_tmp
is a point entity available in Counter-Strike: Source.
The Steyr TMP is a sub-machine gun that uses ammo_9mm ammunition.
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.
Inputs
CS:S 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 (removed since ) !FGD
- When dropped, fires every tick on player touch (!activator is the player.).
- OnNPCPickup (removed since ) !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.