Func nogrenades: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Updated)
Line 1: Line 1:
{{wrongtitle|title=func_nogrenades}}
{{tf2 brush|func_nogrenades}}


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


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV EnableDisable}}
{{KV TFTeam}}


'''Name'''
==Flags==
:the targetname other entities refer this entity by
{{I 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.
:''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]]

Revision as of 21:32, 9 May 2011

Template:Tf2 brush

Entity description

This entity will destroy any explosive projectile that touches it and nullifies explosive damage.

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


Flags

SetTeam <integerRedirectInput/integer>
Changes the entity's team.

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.

Outputs