Item antigen dispenser: Difference between revisions
Jump to navigation
Jump to search
Bug: This does not seem to do anything. [todo tested in ?]
No edit summary |
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
||
Line 2: | Line 2: | ||
[[File: item_antigen_dispenser.png | right | 200px]] | [[File: item_antigen_dispenser.png | right | 200px]] | ||
{{ | {{this is a|point|name=item_antigen_dispenser|game=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. | ||
{{clr}} | {{clr}} |
Revision as of 11:21, 4 January 2024
item_antigen_dispenser
is a point 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 ([todo internal name (i)]) <string>
- The targetname that other entities refer to this entity by.

- 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) <QAngle>
- 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.
Inputs
- AddOutput <string >
- Evaluates a keyvalue/output on this entity.
Format:<key> <value>
Format:<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite>
- FireUser1 to FireUser4
- Fire the
OnUser
outputs; see User Inputs and Outputs.
- Kill
- Removes this entity and any entities parented to it from the world.
- KillHierarchy
- Functions the same as
Kill
, although this entity and any entities parented to it are killed on the same frame, being marginally faster thanKill
.
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.