info_challenge
Jump to navigation
Jump to search
info_challenge
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.
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
Inputs
- GetInitialChallenge
- Fires an output that contains the value of the initial challenge as a parameter.
- GetCurrentChallenge
- Fires an output that contains the value of the current challenge as a parameter.
- GetChallengeDifference
- Fires an output that contains the difference between the current and initial challenge as a parameter.
Outputs
- 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.
- OnUse
- Fires when the
Use
input is given.