Updateitem1: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{portal point|updateitem1}} It was added by the March 1, 2010 update. ==Entity Description== This entity seems to be the area where updateitem2 will receive a signal (sp...")
 
Line 14: Line 14:


== Inputs ==
== Inputs ==
* {{I FireUser}}
* {{O BaseEntity}}
* {{I DamageFilter}}
* {{I DamageFilter}}
* {{I Damage}}
* {{I Damage}}

Revision as of 01:43, 15 September 2019

Template:Portal point It was added by the March 1, 2010 update.

Entity Description

This entity seems to be the area where updateitem2 will receive a signal (sprite turns green, sounds play, static sounds, etc...).

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

  • DamageFilter:
Damage Filter (damagefilter) <targetname>
Name of the filter_damage_type entity that controls which entities can damage us.
Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
  • 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

Inputs

  • DamageFilter:
SetDamageFilter <stringRedirectInput/string>
Sets the entity to use as damage filter. Pass in an empty string (no parameter) to clear the damage filter.
EnableDamageForces  (in all games since Half-Life 2: Episode Two)
Todo: What is this?
DisableDamageForces  (in all games since Half-Life 2: Episode Two)
Todo: What is this?

Outputs

  • OnUser1
  • OnUser2
  • OnUser3
  • OnUser4

See Also