Passtime logic: Difference between revisions
Jump to navigation
Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
m (Substituted IO templates) |
||
Line 12: | Line 12: | ||
==Inputs== | ==Inputs== | ||
{{I Targetname}} | {{I Targetname}} | ||
{{ | {{I|SpawnBall|With a countdown, pick a random enabled info_passtime_ball_spawn and spawn a ball there.}} | ||
{{ | {{I|SetSection|Parameter must be three values - [section number] [name of first track_path] [name of last track_path]|param=string}} | ||
{{ | {{I|TimeUp|Input this from a round timer or something to indicate the game timer ended with no winner.}} | ||
{{ | {{I|SpeedBoostUsed|For stats tracking.}} | ||
{{ | {{I|JumpPadUsed|For stats tracking.}} | ||
==Outputs== | ==Outputs== | ||
{{ | {{O|OnBallFree|The ball is free - someone was holding it, and now they aren't.}} | ||
{{ | {{O|OnBallGetBlu|The ball was free and someone picked it up.}} | ||
{{ | {{O|OnBallGetRed|The ball was free and someone picked it up.}} | ||
{{ | {{O|OnBallGetAny|The ball was free and someone picked it up.}} | ||
{{ | {{O|OnBallRemoved|The ball was removed by game rules and you should respawn it. (e.g. fell out of the world (func_passtime_goal with -1 points)).}} | ||
{{ | {{O|OnScoreBlu|BLU scored.}} | ||
{{ | {{O|OnScoreRed|RED scored.}} | ||
{{ | {{O|OnScoreAny|Any Scored}} | ||
{{ | {{O|OnBallPowerUp|Experimental.}} | ||
{{ | {{O|OnBallPowerDown|Experimental.}} | ||
==See also== | ==See also== | ||
*<code>[[info_passtime_ball_spawn]]</code> | *<code>[[info_passtime_ball_spawn]]</code> |
Latest revision as of 11:10, 21 April 2025
passtime_logic
is a point entity available in Team Fortress 2.
Entity description
Passtime Logic.
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
- SpawnBall
- With a countdown, pick a random enabled info_passtime_ball_spawn and spawn a ball there.
- SetSection <string >
- Parameter must be three values - [section number] [name of first track_path] [name of last track_path]
- TimeUp
- Input this from a round timer or something to indicate the game timer ended with no winner.
- SpeedBoostUsed
- For stats tracking.
- JumpPadUsed
- For stats tracking.
Outputs
- OnBallFree
- The ball is free - someone was holding it, and now they aren't.
- OnBallGetBlu
- The ball was free and someone picked it up.
- OnBallGetRed
- The ball was free and someone picked it up.
- OnBallGetAny
- The ball was free and someone picked it up.
- OnBallRemoved
- The ball was removed by game rules and you should respawn it. (e.g. fell out of the world (func_passtime_goal with -1 points)).
- OnScoreBlu
- BLU scored.
- OnScoreRed
- RED scored.
- OnScoreAny
- Any Scored
- OnBallPowerUp
- Experimental.
- OnBallPowerDown
- Experimental.