Info item position

From Valve Developer Community
Revision as of 21:27, 12 March 2019 by 求生的兔 (talk | contribs)
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)

Template:L4d2 point An entity that represents a possible item location in a map. Scripts can search for these entities and use them to spawn objects for different game modes

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

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
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.
Helper Model ([todo internal name (i)]) <model path>
A model used to represent this entity.
Group ([todo internal name (i)]) <integer>
Group Number.
Rarity ([todo internal name (i)]) <choices>
Item rarity at this location.
Replace ([todo internal name (i)]) <string>
This is a replacement parameter. It goes in the form of $variable value. All entities inside of the spawn group that have $variable somewhere will be replaced with the value contents. Example: $color 255 0 0

Inputs

Strip
Removes all weapons.
StripActiveWeapon
Removes the active weapon.
StripWeaponByClassname
string

Outputs