trigger_inventory_check
Jump to navigation
Jump to search
trigger_inventory_check
is a brush entity available in Vampire: The Masquerade - Bloodlines. A trigger that checks specified inventory item availability and generate the dependent output.
Key Values
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
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
- Start Disabled (StartDisabled) <choices>
- If "Yes" the entity starts disabled.
Value Description 0 No 1 Yes
Origin:
- Origin (X Y Z) (origin) <origin>
- The position of this entity's center in the world. Rotating entities typically rotate around their origin.
- Item to Check (itemname) <itemclass>
- The name of player's inventory item that will be checked by trigger.
Inputs
Parentname:
- SetParent <string>
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <string>
- Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
- SetParentAttachmentMaintainOffset <string>
- As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
- ClearParent
- Removes this entity from the the movement hierarchy, leaving it free to move independently.
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Toggle:
- Toggle
- Toggle the enabled/disabled status of this entity.
- ToggleFlagClient
- Toggle client's ability to use this trigger.
- ToggleFlagNPC
- Toggle NPC's ability to use this trigger.
- EnableFlagClient
- EnableFlagClient.
- EnableFlagNPC
- Enable NPC's ability to use this trigger.
- DisableFlagClient
- Disable client's ability to use this trigger.
- DisableFlagNPC
- Disable NPC's ability to use this trigger.
- ScriptHide
- Hide entity by specific python script.
- ScriptUnhide
- Spawn entity by specific python script if it was hided.
Outputs
- OnPlayerHasItem
- Fired whether a player has selected item.
- OnStartTouch
- Fired when a valid entity starts touching this trigger. !activator is whatever touches the trigger.
- OnEndTouch
- Fired when a valid entity stops touching this trigger.
- Warning:This includes entities which are deleted while inside the trigger. In this case !activator will be invalid.