Item megahealth

From Valve Developer Community
Jump to: navigation, search
List of SE1 entities
Item megahealth.png

<SiN Episodes: Emergence> This 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.

Keyvalues

Targetname:

Name <string>
The targetname that other entities refer to this entity by.

Angles:

Pitch Yaw Roll (Y Z X) <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 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 than Kill.
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 to OnUser4
These outputs each fire in response to the firing of the like-numbered FireUser1 to FireUser4 Input; see User Inputs and Outputs.
OnUse
Fired when the Use input is given.