Prop ammo box generic: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Came across a problem with extracting ammo when you are on certain game modes/types, thought it would be best to update the page in order to reflect this. Couldn't find a cvar which changes this, so I'm assuming it's intrinsically tied to those modes.)
Line 1: Line 1:
[[Image:Prop ammo box generic.jpg|thumb|300px|right|Sharable ammo box]]
[[Image:Prop ammo box generic.jpg|thumb|300px|right|Sharable ammo box]]
{{csgo point|prop_ammo_box_generic}} {{DZupdate}}
{{csgo point|prop_ammo_box_generic}} {{DZupdate}}
{{note|Although this entity can be placed into a map without any problems, players are only allowed to extract ammo if the [[CSGO_Game_Mode_Commands|game mode]] is set to either [[Creating a Co-op Strike Map|Co-op Strike]] or [[Creating a Danger Zone Map|Danger Zone]].}}


== Entity description==
== Entity description==

Revision as of 17:04, 5 May 2021

Sharable ammo box

prop_ammo_box_generic is a point entity available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive. It's one of many new entities added with the CS:GO Danger Zone Danger Zone update.

Note.pngNote:Although this entity can be placed into a map without any problems, players are only allowed to extract ammo if the game mode is set to either Co-op Strike or Danger Zone.

Entity description

Sharable ammo box.

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
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.