Func nogrenades: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Rewrite Template:Lang to Template:LanguageBar. This action was performed by a bot.)
 
(9 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{wrongtitle|title=func_nogrenades}}
{{LanguageBar}}{{this is a|brush entity|name=func_nogrenades|game=Team Fortress 2}}


==Entity Description==
==Entity description==
The func_nogrenade entity will destroy any explosive that detonates inside it and nullifies explosive damage.
This entity nullifies the explosion of any explosive projectile that explodes inside it.
 
==Availability==
This brush-based [[entity]] is exclusive to [[Team_Fortress_2|Team Fortress 2]].


==Keyvalues==
==Keyvalues==
 
{{KV Targetname}}
'''Name'''
{{KV EnableDisable}}
:the targetname other entities refer this entity by
{{KV TFTeam}}
 
'''Start Disabled'''
:Stay dormant until activated (probably with the ''Enable'' input).
 
'''TeamNum'''
: The team's grenades this entity will effect.
:{| {{standard-table}}
! Literal Value || Description
|-
| 0 || Any
|-
| 2 || RED
|-
| 3 || BLU
|}
:Note- this entity will effect both teams, reguardless of this keyvalue.


==Inputs==
==Inputs==
*{{I Targetname}}
{{I Targetname}}
 
{{I EnableDisable}}
'''Enable'''
{{I Toggle}}
:Enable this entity.
{{I TFTeam}}
:''This does not keep people from building in an inactive func_nobuild''
 
* '''Disable'''
:Disable this entity.
:''This does not allow people to build in an active func_nobuild''


==Outputs==
==Outputs==
*{{O Targetname}}
{{O Targetname}}
[[Category:Team Fortress 2 Entities]]

Latest revision as of 17:55, 18 July 2025

English (en)Translate (Translate)

func_nogrenades is a brush entity available in Team Fortress 2 Team Fortress 2.

Entity description

This entity nullifies the explosion of any explosive projectile that explodes inside it.

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

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
TeamNum:
Initial Team (TeamNum) <choices>
Which Team the entity belongs / is assigned to on spawn
  • 0: None
  • 1: Spectator/Halloween Souls Team Fortress 2
  • 2: RED Team Fortress 2
  • 3: BLU/Robots Team Fortress 2
  • 5: Halloween Bosses (only in Team Fortress 2) !FGD


Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.
Toggle:
Toggle
Toggle the enabled/disabled status of this entity.
SetTeam <integerRedirectInput/integer>
Changes the entity's team.

Outputs