Logic title unlock test: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{ent not in fgd}} {{This is a|point entity|name=logic_title_unlock_test|game=psa}} 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 {{ent|logic_relay}} whose enabled state is tied to the game being in trial mode. == Keyvalues == {{KV Targetname}} == Inputs == {{IO|TestTitleUnlocked|Tests the trial mode state.}} == Outputs == {{IO|OnTitleLocked|Fired in response to...") |
mNo edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ent not in fgd}} | {{ent not in fgd}} | ||
{{This is a|point entity|name=logic_title_unlock_test|game= | {{This is a|point entity|name=logic_title_unlock_test|game=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 {{ent|logic_relay}} whose enabled state is tied to the game being in trial mode. | ||
== Keyvalues == | == Keyvalues == | ||
{{KV Targetname}} | {{KV Targetname}} | ||
== Inputs == | == Inputs == | ||
{{I|TestTitleUnlocked|Tests the trial mode state.}} | |||
{{ | == Outputs == | ||
{{O|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." | |||
] |
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." ]