Passtime logic: Difference between revisions
Jump to navigation
Jump to search
Warning:
IS NEW Puddy (talk | contribs) (Created page with "{{tf2 point|passtime_logic}} == Entity description == Passtime Logic. ==Keyvalues== {{KV Targetname}} {{KV|Number of sections|int|.}} {{KV|Ball spawn countdown duration in s...") |
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
||
Line 1: | Line 1: | ||
{{tf2 | {{this is a|e0|game=tf2|name=passtime_logic}} | ||
== Entity description == | == Entity description == |
Revision as of 09:20, 7 January 2024
passtime_logic
is an e0 available in Team Fortress 2.

- The {{{game}}} parameter is inconsistent with the name defined by the {{tf2}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Team Fortress 2.
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.
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.