Training annotation: Difference between revisions
Jump to navigation
Jump to search
Note:The fade-in effect when an annotation is shown does not work unless lifetime is set to -1
Note:Hide does not work if tf_logic_training_mode is not present.
mNo edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV|Lifetime|float|intn=lifetime|How long should the annotation be shown in seconds. {{{lifetime add|}}}}} | |||
{{Note|The fade-in effect when an annotation is shown does not work unless lifetime is set to -1}} | |||
==Inputs== | ==Inputs== | ||
{{I Targetname}} | {{I Targetname}} | ||
{{IO|Show|Shows the annotation bubble.}} | {{IO|Show|Shows the annotation bubble.}} | ||
{{IO|Hide|Hides the annotation bubble.}} | {{IO|Hide|Hides the annotation bubble.}} | ||
{{Note|Hide does not work if [https://developer.valvesoftware.com/wiki/Tf_logic_training_mode tf_logic_training_mode] is not present.}} | |||
==Outputs== | ==Outputs== | ||
{{O Targetname}} | {{O Targetname}} |
Revision as of 23:21, 17 February 2022
training_annotation
is a point entity available in Team Fortress 2.
Entity description
An in-world location-specific information bubble.
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
- Lifetime (lifetime) <float>
- How long should the annotation be shown in seconds.

Inputs
- Show
- Shows the annotation bubble.
- Hide
- Hides the annotation bubble.
