item_megahealth
item_megahealth
is a point entity available in SiN Episodes. It is a health item that replenishes 100 of the player's health regardless of difficulty setting and is compared to other health related objects in the game, capable of doubling the amount of health points to 200; making it a powerful substitute when optained.
Contents
Keyvalues
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
Angles:
- 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.
Shadow:
- Disable shadows (disableshadows) <boolean>
- Prevent the entity from creating cheap render-to-texture shadows. Does not affect shadow mapping.
Inputs
Base:
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
toFireUser4
- 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
.
EnableShadow
- Allows the entity to draw a render target shadow.
DisableShadow
- Prevents the entity from drawing a render target shadow.
Outputs
Item:
OnPlayerTouch
- Fires when the player touches this item.
!activator
is the player.
Base:
OnUser1
toOnUser4
- These outputs each fire in response to the firing of the like-numbered
FireUser1
toFireUser4
Input; see User Inputs and Outputs.
OnUse
- Fired when the
Use
input is given.