item_bandages

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)

item_bandages is a point entity available in No More Room in Hell No More Room in Hell.

Entity Description

The Walkie Talkie is a portable radio communication device, used to communicate with other Survivors who also carry one over greater distances (due to limited voice/text range).
The point entity walkie_manager can interact with it, broadcasting sounds as desired.

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.
View Model Override (viewmodel_override) <model path>
Sets a custom view model for this weapon.
World Model Override (worldmodel_override) <model path>
Sets a custom world model for this weapon.
Label Override (label_override) <string>
Overrides visible name in inventory wheel and other places, accepts localization strings.
Inventory Icon Override (icon_override) <texture>
Overrides material for VGUI inventory wheel icon.
Weight Override (weight_override) <integer>
Overrides physical weight (in player's inventory). Leave at -1 for default.
Pre Pickup Sound (pre_pickup_sound) <string>
Game sound that will be looped until a player picks this walkie talkie up.
Repeat Delay (repeat_delay) <float>
Time in seconds between pre pickup sound loops.

Flags

Disable Motion : [1]
Disables the physics system from acting upon on this item.

Inputs

InputPlaySound
Play a game sound through this walkie talkie.
Kill
Kills the entity. Can cause issues if killed while in a player's inventory.

Outputs

OnPickup
Fires when this walkie talkie is picked up.
OnPlayerDrop
Fires when a player drops this item.
OnPlayerPickup
Fires when a player picks up this item.
OnUser1 to OnUser4
Fired in response to the FireUser inputs.