item_g_drugs_morphine_bottle

From Valve Developer Community
Jump to navigation Jump to search

item_g_drugs_morphine_bottle is a point entity available in Vampire: The Masquerade - Bloodlines Vampire: The Masquerade - Bloodlines.

Warning.pngWarning:
  • The {{{game}}} parameter is inconsistent with the name defined by the {{Vampire The Masquerade - Bloodlines}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Vampire: The Masquerade - Bloodlines.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

This entity represents a Morphine Bottle item that the player can sell.

Key Values

Name (targetname) <string>
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

Start Hidden (StartHidden) <choices>
Don't spawn the entity while the script command didn't sent.
Value Description
0 Yes
1 No
Pitch Yaw Roll (Y Z X) (angles) <angle>
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.

Flags

Start Constrained : [1]


Inputs

ScriptHide
Hide entity by specific python script.
ScriptUnhide
Spawn entity by specific python script if it was hided.
Kill
Removes this entity from the world.
FadeOutKill
Fades entity during given time and then removes this from world.

Outputs

OnPlayerPickup
Fired whenever the player picks up this item (with +USE).