logic_title_unlock_test
Jump to navigation
Jump to search
logic_title_unlock_test
is a point entity available in Portal: Still Alive. This entity checks if the game is running in Xbox Live Arcade trial mode when activated, and fires an output if it is. Effectively, it behaves like a logic_relay whose enabled state is tied to the game being in trial mode.
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
- TestTitleUnlocked
- Tests the trial mode state.
Outputs
- OnTitleLocked
- Fired in response to TestTitleUnlocked if the game is running in trial mode.
FGD Code
@PointClass base(Targetname) = logic_title_unlock_test: "Checks if the game is running in trial mode, and fires an output if it is." [ input TestTitleUnlocked(void) : "Tests the trial mode state." output OnTitleLocked(void) : "Fired in response to TestTitleUnlocked if the game is running in trial mode." ]