Tf halloween pickup: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
(-added class hierarchy, cleanup)
Line 1: Line 1:
{{CD|CHalloweenPickup|base=CTFPowerup|nolink=1|file1=entity_halloween_pickup.cpp}}
{{this is a|point entity|game=Team Fortress 2|name=tf_halloween_pickup}}
{{this is a|point entity|game=Team Fortress 2|name=tf_halloween_pickup}}


{{code class|CHalloweenPickup|entity_halloween_pickup.cpp}}
==Entity Description==
A Halloween-styled Health kit used in [https://wiki.teamfortress.com/wiki/Halloween_event Halloween Events].
A Halloween-styled Health kit used in [https://wiki.teamfortress.com/wiki/Halloween_event Halloween Events].


==Keyvalues==
== Keyvalues ==
{{KV Targetname}}
{{KV|pickup_sound|string|Sound played when this entity is touched.}}
{{KV|pickup_sound|string|Sound played when this entity is touched.}}
{{KV|pickup_particle|string|Particle displayed when touched.}}
{{KV|pickup_particle|string|Particle displayed when touched.}}
{{KV BaseEntity}}
==Inputs==
{{I BaseEntity}}


==Outputs==
== Outputs ==
{{IO|OnRedPickup|Fired when a RED player touches this entity.}}
{{O|OnRedPickup|Fired when a RED player touches this entity.}}
{{IO|OnBluePickup|Fired when a BLU player touches this entity.}}
{{O|OnBluePickup|Fired when a BLU player touches this entity.}}
{{O BaseEntity}}

Revision as of 02:17, 26 September 2024

C++ Class hierarchy
CHalloweenPickup
CTFPowerup
CItem
CBaseAnimating
CBaseEntity
C++ entity_halloween_pickup.cpp

tf_halloween_pickup is a point entity available in Team Fortress 2 Team Fortress 2.

A Halloween-styled Health kit used in Halloween Events.

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

pickup_sound ([todo internal name (i)]) <string>
Sound played when this entity is touched.
pickup_particle ([todo internal name (i)]) <string>
Particle displayed when touched.

Outputs

OnRedPickup
Fired when a RED player touches this entity.
OnBluePickup
Fired when a BLU player touches this entity.