Info item position
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
- 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.
- 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 <script >
- Execute a game script file from disk.
- RunScriptCode <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 <string >
- FireUser1 to FireUser4
- Fire the OnUser outputs; see User Inputs and Outputs.
- Strip
- Removes all weapons.
- StripActiveWeapon
- Removes the active weapon.
- StripWeaponByClassname
- string