passtime_logic

From Valve Developer Community
Revision as of 11:47, 8 January 2024 by Thunder4ik (talk | contribs) (→‎See also: Unicodifying, replaced: See Also → See also)
Jump to navigation Jump to search

passtime_logic is an e0 available in Team Fortress 2 Team Fortress 2.

Warning.pngWarning:
  • 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 or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Number of sections ([todo internal name (i)]) <integer>
.
Ball spawn countdown duration in seconds ([todo internal name (i)]) <integer>
.
Max Pass Range ([todo internal name (i)]) <float>
0 means unlimited.

Inputs

SpawnBall
With a countdown, pick a random enabled info_passtime_ball_spawn and spawn a ball there.
SetSection <stringRedirectInput/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.

See also