Func suggested build: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added info)
 
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot under supervision.)
Line 1: Line 1:
{{tf2 brush|func_suggested_build}}
{{this is a|e2|game=tf2|name=func_suggested_build}}


==Entity description==
==Entity description==

Revision as of 07:25, 7 January 2024

func_suggested_build is an e2 available in Team Fortress 2 Team Fortress 2.

Warning.pngWarning:
  • The {{{game}}} parameter is inconsistent with the name defined by the {{tf2}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Team Fortress 2.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

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.