This article relates to the game "Team Fortress 2". Click here for more information.

Func suggested build: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Substituted IO templates)
No edit summary
 
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}}
{{this is a|brush entity|game=Team Fortress 2|name=func_suggested_build}}



Latest revision as of 13:59, 7 October 2025

English (en)Translate (Translate)
C++ Class hierarchy
CFuncSuggestedBuild
CBaseTrigger
CBaseToggle
CBaseEntity
C++ 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. parentname or target).
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.