portal_race_checkpoint
Jump to navigation
Jump to search


![]() |
---|
??? |
portal_race_checkpoint
is a model entity available in Portal 2. This is a hologram entity that functions as a trigger for players. It can spin, change colors, and play timer sound effects depending on the state it is in.
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
- Checkpoint Duration (ResetTime) <float>
- How much time until the checkpoint resets to the inactive state again.
Inputs
- Activate
- Switches the state of the entity to become activated.
- CancelActivate
- Switches the state of the entity to become deactivated. (Note: This will not fire the OnCheckpointReset output!)
- Lock
- Locking will prevent players from activating the checkpoint and stop the entity from spinning.
- Unlock
- Unlocking will allow players to activate the checkpoint.
Outputs
- OnCheckpointActivated
- Called when the checkpoint has been triggered by a player.
- OnCheckpointReset
- Called when the timer threshold has been reached.
Additional Information
The scale of the entity model itself can be changed through the sv_portal_race_checkpoint_model_scale ConVar.
Modifying the sv_debug_portal_race_checkpoint ConVar appears to not do anything, but may have been used for some unknown functionality.