item_antigen_dispenser
Jump to navigation
Jump to search
item_antigen_dispenser
is a point entity available in SiN Episodes. It is a health charger which requires a prop_antigen_canister to function, gradually replenishes player health on use, until the canister is empty or the player is at full health. The dispenser can be set to either start with no canister in place or a canister with a specific percentage available for the player. The dispenser will always be able to give the amount of health points it has available, regardless of the difficulty setting. The antigen canister can be rejected from the dispenser by clicking its top display, allowing the user to replace an empty canister shell with another containing any amount of health found nearby.
Keyvalues
- 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
Bug: This does not seem to do anything. [todo tested in?]
- Antigen ([todo internal name (i)]) <float>
- Percentage full, if 0 then this dispenser can be loaded with an antigen container
- 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.
Outputs
- OnCanisterInserted
- Fires when an antigen canister is put into the dispenser.
- OnCanisterEjected
- Fires when an antigen canister is ejected from the dispenser.
- OnUse
- Fires when the
Use
input is given.