Info item position

From Valve Developer Community
Revision as of 06:23, 23 March 2018 by MrFunreal (talk | contribs) (Created page with information from hammer's "help" window. Some formatting has to be donw with the "add output" input. I can't seem to get the entire string to work.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 ([todo internal name (i)]) <string>
The name that other entities refer to this entity by.
Entity Scripts ([todo internal name (i)]) <string>
Name(s) of script files that are executed after all entities have spawned.
Script think function ([todo internal name (i)]) <string>
Name of a function in this entity's script scope which will be called automatically.
Pitch Yaw Roll (Y Z X) ([todo internal name (i)]) <angle>
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.
Parent ([todo internal name (i)]) <targetname>
The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.
Helper Model ([todo internal name (i)]) <model path>
A model used to represent this entity.
Group ([todo internal name (i)]) <integer>
Group Number.
Rarity 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

RunScriptFile <scriptRedirectInput/string>
Execute a game script file from disk.
RunScriptCode <stringRedirectInput/string>
Execute a string of script source code
Kill
Removes this entity from the world.
KillHierarchy
Removes this entity and all its children from the world.
AddOutput <stringRedirectInput/string>
FireUser1 to FireUser4
Fire the OnUser outputs; see User Inputs and Outputs.
Strip
Removes all weapons.
StripActiveWeapon
Removes the active weapon.
StripWeaponByClassname
string


Outputs