info_item_position

From Valve Developer Community
< Zh
Jump to: navigation, search
English (en)中文 (zh)Translate (Translate)
Info content.png
This page needs to be translated.
This page either contains information that is only partially or incorrectly translated, or there isn't a translation yet.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article tries to comply with the alternate languages guide.

info_item_position是一个点实体(en),可在求生之路2 求生之路2中使用。 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

参见:  Generic Keyvalues, Inputs and Outputs available to all entities
Name(en) (targetname) <string(en)>
其他实体引用该实体的目标名称。
Pitch Yaw Roll (Y Z X) (angles) <angle(en)>
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(en)>
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(en)>
A model used to represent this entity.
Group ([todo internal name (i)]) <integer(en)>
Group Number.
Rarity ([todo internal name (i)]) <choices>
Item rarity at this location.
Replace ([todo internal name (i)]) <string(en)>
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