Item ammopack small: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 3: Line 3:
[[Image:Item ammopack small tf.JPG|thumb|right|200px|A small ammo box.]]{{clr}}
[[Image:Item ammopack small tf.JPG|thumb|right|200px|A small ammo box.]]{{clr}}
==Entity Description==
==Entity Description==
Small sized ammunition pack (contains 41 ammo).
Small sized ammunition pack (contains 20.5% ammo).


{{tfitem}}
{{tfitem}}


[[Category:Team Fortress 2 Entities]]
[[Category:Team Fortress 2 Entities]]

Revision as of 11:44, 7 January 2008

Template:Wrongtitle

A small ammo box.

Entity Description

Small sized ammunition pack (contains 20.5% ammo).

Keywords

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
Auto-Materialize (automaterialize) <boolean>
Whether the pickup will automatically re-materialize after 10 seconds.
Model (powerup_model) <string>
Changes the model to something other than the default.
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
Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.
Toggle
Toggles the enabled/disabled status of the entity.

Outputs

OnPlayerTouch  !FGD
Sent when the entity is picked up by a player.