Weapon mac10: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (description)
Line 2: Line 2:
==Entity Description==
==Entity Description==
[[Image:Mac10.jpg|thumb|right|200px|Mac-10]]
[[Image:Mac10.jpg|thumb|right|200px|Mac-10]]
The '''Ingram MAC-10''' uses [[ammo_45acp]] ammunition.
{{CSS}} The '''{{wiki|Ingram MAC-10}}''' is a terrorist submachinegun that uses [[ammo_45acp]] ammunition.
{{BasicCSSweapon}}
{{BasicCSSweapon}}
[[Category:Counter-Strike: Source Entities]]

Revision as of 04:07, 16 March 2011

Template:Wrongtitle

Entity Description

Mac-10

Counter-Strike: Source The Wikipedia icon Ingram MAC-10 is a terrorist submachinegun that uses ammo_45acp ammunition.

KeyValues

CS:S Weapon:

Ammo (ammo) <integer> (only in Counter-Strike: Source)
Amount of reserve ammo to be added. Fallback value is 0. !FGD


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.
Counter-Strike: Source Hostages might be NPCs, but they don't pick weapons up.