Logic title unlock test: Difference between revisions
Jump to navigation
Jump to search
(Change template name so categories work right) |
mNo edit summary |
||
Line 3: | Line 3: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV Targetname}} | {{KV Targetname}} | ||
== Inputs == | == Inputs == | ||
{{I|TestTitleUnlocked|Tests the trial mode state.}} | |||
{{ | |||
== Outputs == | == Outputs == | ||
{{O|OnTitleLocked|Fired in response to TestTitleUnlocked if the game is running in trial mode.}} | |||
{{ | |||
== FGD Code == | == FGD Code == |
Latest revision as of 13:04, 10 April 2025
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>[ Edit ]
- 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." ]