Func suggested build: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added info)
 
m (Substituted IO templates)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{tf2 brush|func_suggested_build}}
{{this is a|brush entity|game=Team Fortress 2|name=func_suggested_build}}


==Entity description==
==Entity description==
Line 9: Line 9:
==Inputs==
==Inputs==
{{I Targetname}}
{{I Targetname}}
{{IO|SetTeam <[[integer]]>|Changes the entity's team.}}
{{I|SetTeam <[[integer]]>|Changes the entity's team.}}
{{I EnableDisable}}
{{I EnableDisable}}
{{IO|Toggle <[[bool]]>|Toggle the enabled/disabled status of this entity.}}
{{I|Toggle <[[bool]]>|Toggle the enabled/disabled status of this entity.}}


==Outputs==
==Outputs==
{{O Targetname}}
{{O Targetname}}
{{IO|OnBuildInsideArea|Sent when the player builds an appropriate object inside a suggested area.}}
{{O|OnBuildInsideArea|Sent when the player builds an appropriate object inside a suggested area.}}
{{IO|OnBuildNotFacing|Sent when the player builds an appropriate object inside a suggested area, but it has a bad orientation.}}
{{O|OnBuildNotFacing|Sent when the player builds an appropriate object inside a suggested area, but it has a bad orientation.}}
{{IO|OnBuildingUpgraded|Sent when a building in this area is upgraded.}}
{{O|OnBuildingUpgraded|Sent when a building in this area is upgraded.}}

Latest revision as of 07:53, 21 April 2025

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.