ammobox_22lr
Jump to navigation
Jump to search

ammobox_22lr is a point entity available in
No More Room in Hell.
Entity Description
The ammobox_22lr is a box of ammo used for a rifle and pistol found in No More Room in Hell, such as the fa_1022, fa_1022_25mag and fa_mkiii. These are usually scattered around maps and found in Supply Crates.
KeyValues
- Name (targetname) <string>
- The name that other entities refer to this entity by.
- Entity Scripts (vscripts) <string>
- Name(s) of script files that are executed after all entities have spawned.
- Script think function (thinkfunction) <string>
- Name of a function in this entity's script scope which will be called automatically.
- Pitch Yaw Roll (Y Z X) (angles) <angles>
- 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.
- Ammo Fill Min (ammo_fill_pct_min) <integer>
- Spawned item will spawn with ammo amount at least this percent of capacity.
- Ammo Fill Max (ammo_fill_pct_max) <integer>
- Spawned item will spawn with ammo amount at most this percent of capacity.
Flags
- Disable Motion : [1]
- Disables the physics system from acting upon on this item.
Inputs
- Kill
- Kills the entity. Can cause issues if killed while in a player's inventory.
Outputs
- OnPlayerDrop
- Fires when a player drops this ammo.
- OnPlayerPickup
- Fires when a player picks up this ammo.
- OnUser1 to OnUser4
- Fired in response to the FireUser inputs.