Logic title unlock test: Difference between revisions
Jump to navigation
Jump to search
Warning:
(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...") |
(Add FGD code for whatever it's worth) |
||
Line 13: | Line 13: | ||
{{IO|OnTitleLocked|Fired in response to TestTitleUnlocked if the game is running in trial mode.}} | {{IO|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." | |||
] |
Revision as of 21:57, 27 January 2025
logic_title_unlock_test
is a point entity available in Portal: Still Alive.

- The {{{game}}} parameter is inconsistent with the name defined by the {{psa}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Portal: Still Alive.
If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.
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." ]