Template:BasicCS2Weapon

From Valve Developer Community
Revision as of 14:11, 5 April 2025 by SirYodaJedi (talk | contribs) (Created page with "<onlyinclude>{{BasicCSseriesWeapon|{{{1|{{str index|{{ROOTPAGENAME}}|8}}}}}|css=0|csgo=0|cs2=1}}</onlyinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

KeyValues

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

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.