Molotov projectile

From Valve Developer Community
Revision as of 15:23, 29 February 2020 by Rectus (talk | contribs) (It's also in L4D. Switched keyvalues and inputs to use the standard templates.)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

Template:Base point multi

Entity Description

A thrown molotov.

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.

Flags

  • 1 : Start Constrained
Prevents the model from moving.

Inputs

InitializeSpawnFromWorld
Activates the grenade, causing it to explode after a few seconds as if it was thrown by a player.