Info challenge

From Valve Developer Community
Revision as of 07:37, 19 July 2019 by Soer4769 (talk | contribs) (Created page for info_challenge in Sin Episodes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
List of SE1 entitiesSiN Episodes This is a point entity available in Sin Episodes. This entity is the developer's gateway to set up traps and obstacles that depend on the challenge level built around the Dynamic Difficulty System, where the initial challenge level is that chosen upon the start of the map (0.2/1.0 default) and the current challenge is what it has dynamically changed to depending on the skill of the player, with the challenge difference being the amount the player has moved the challenge level from the initial level to the current one. For more information about how to set up an envionment challenge depending on the initial challenge level, see the Arena Mode Challenge tutorial page.


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


Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.


Fires an output that contains the value of the initial challenge as a parameter.
Fires an output that contains the value of the current challenge as a parameter.
Fires an output that contains the difference between the current and initial challenge as a parameter.


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.


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.
Removes this entity and any entities parented to it from the world.
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.


OnInitialChallenge <float>
Fires when the GetInitialChallenge input is called.
OnCurrentChallenge <float>
Fires when the GetCurrentChallenge input is called.
OnChallengeDifference <float>
Fires when the GetChallengeDifference input is called.


Fires when the Use input is given.


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.