Passtime ball: Difference between revisions
Jump to navigation
Jump to search

Warning:This entity deals damage if it goes fast enough when colliding with a player who can't pick it up. However, if it was never picked up, the Attacker of that damage is never defined. This will cause a crash if the player has damage filters of type filter_activator_tfteam or filter_activator_team. Using a filter_multi that first checks for damage type Club (128) or Club+Critical (1048704) before those filters prevents the crash.
No edit summary |
m (Classifying as model entity) |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
{{ | {{CD|CPasstimeBall|file1=tf_passtime_ball.cpp}} | ||
{{this is a|model entity|game=Team Fortress 2|name=passtime_ball}} | |||
The "Jack" or ball in Pass Time. | The "Jack" or ball in Pass Time. | ||
{{Warning|This entity deals damage if it goes fast enough when colliding with a player who can't pick it up. However, if it was never picked up, the Attacker of that damage is never defined. This will cause a crash if the player has damage filters of type filter_activator_tfteam or filter_activator_team. Using a filter_multi that first | {{Warning|This entity deals damage if it goes fast enough when colliding with a player who can't pick it up. However, if it was never picked up, the Attacker of that damage is never defined. This will cause a crash if the player has damage filters of type [[filter_activator_tfteam]] or [[filter_activator_team]]. Using a [[filter_multi]] that first checks for damage type Club (128) or Club+Critical (1048704) before those filters prevents the crash.}} | ||
{{tfitem}} | {{tfitem}} | ||
Latest revision as of 04:33, 19 May 2025
| CPasstimeBall |
passtime_ball is a model entity available in
Team Fortress 2.
The "Jack" or ball in Pass Time.
Keywords
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Auto-Materialize (automaterialize) <boolean>
- Whether the pickup will automatically re-materialize after 10 seconds.
- Model (powerup_model) <string>
- Changes the model to something other than the default.
TeamNum:
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enableinput).
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
- Toggle
- Toggles the enabled/disabled status of the entity.
Outputs
- OnPlayerTouch !FGD
- Sent when the entity is picked up by a player.