Func suggested build: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 
		
	
|  (Added info) | No edit summary | ||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| {{ | {{Tf2 topicon}}{{LanguageBar}} | ||
| {{CD|CFuncSuggestedBuild|file1=func_suggested_build.cpp}} | |||
| {{this is a|brush entity|game=Team Fortress 2|name=func_suggested_build}} | |||
| ==Entity description== | ==Entity description== | ||
| Line 9: | Line 11: | ||
| ==Inputs== | ==Inputs== | ||
| {{I Targetname}} | {{I Targetname}} | ||
| {{ | {{I|SetTeam <[[integer]]>|Changes the entity's team.}} | ||
| {{I EnableDisable}} | {{I EnableDisable}} | ||
| {{ | {{I|Toggle <[[bool]]>|Toggle the enabled/disabled status of this entity.}} | ||
| ==Outputs== | ==Outputs== | ||
| {{O Targetname}} | {{O Targetname}} | ||
| {{ | {{O|OnBuildInsideArea|Sent when the player builds an appropriate object inside a suggested area.}} | ||
| {{ | {{O|OnBuildNotFacing|Sent when the player builds an appropriate object inside a suggested area, but it has a bad orientation.}} | ||
| {{ | {{O|OnBuildingUpgraded|Sent when a building in this area is upgraded.}} | ||
Latest revision as of 13:59, 7 October 2025

 
|  Class hierarchy | 
|---|
| CFuncSuggestedBuild | 
|  func_suggested_build.cpp | 
func_suggested_build  is a   brush entity  available in  Team Fortress 2.
 Team Fortress 2.
Entity description
Engineer suggested build area.
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
Inputs
- SetTeam <integer>
- Changes the entity's team.
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
- Toggle <bool>
- Toggle the enabled/disabled status of this entity.
Outputs
- OnBuildInsideArea
- Sent when the player builds an appropriate object inside a suggested area.
- OnBuildNotFacing
- Sent when the player builds an appropriate object inside a suggested area, but it has a bad orientation.
- OnBuildingUpgraded
- Sent when a building in this area is upgraded.
























