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:The fade-in effect when an annotation is shown does not work unless lifetime is set to -1
		
	
| No edit summary |  (better bug info) | ||
| Line 9: | Line 9: | ||
| ==Inputs== | ==Inputs== | ||
| {{I Targetname}} | {{I Targetname}} | ||
| {{IO|Show|Shows the annotation bubble.}}{{bug|Showing an annotation will  | {{IO|Show|Shows the annotation bubble.}}{{bug|Showing an annotation will print an error to console mentioning a missing sound file, the file path cannot be modified.}} | ||
| {{IO|Hide|Hides the annotation bubble.}}{{Warning|Hide does not work in multiplayer! Use the lifetime keyvalue if you want to use this entity outside of training mode.}} | {{IO|Hide|Hides the annotation bubble.}}{{Warning|Hide does not work in multiplayer! Use the lifetime keyvalue if you want to use this entity outside of training mode.}} | ||
| ==Outputs== | ==Outputs== | ||
| {{O Targetname}} | {{O Targetname}} | ||
Revision as of 21:18, 20 December 2022
 
 training_annotation  is a   point entity  available in  Team Fortress 2.
 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. parentnameortarget).
 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.
 Note:The fade-in effect when an annotation is shown does not work unless lifetime is set to -1
Note:The fade-in effect when an annotation is shown does not work unless lifetime is set to -1Inputs
- Show
- Shows the annotation bubble. Bug:Showing an annotation will print an error to console mentioning a missing sound file, the file path cannot be modified.  [todo tested in ?] Bug:Showing an annotation will print an error to console mentioning a missing sound file, the file path cannot be modified.  [todo tested in ?]
- Hide
- Hides the annotation bubble. Warning:Hide does not work in multiplayer! Use the lifetime keyvalue if you want to use this entity outside of training mode. Warning:Hide does not work in multiplayer! Use the lifetime keyvalue if you want to use this entity outside of training mode.