env_rock_launcher

From Valve Developer Community
Revision as of 10:16, 4 January 2024 by WisdomBot (talk | contribs) (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Jump to navigation Jump to search
C++ Class hierarchy
CEnvRockLauncher
CPointEntity
CBaseEntity

env_rock_launcher is an e0 available in Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series. This entity spawns and launches rocks that are typically spawned by the Tank in the Left 4 Dead Series. It is useful for cutscenes or other scripted events.

Keyvalues

Target Name (RockTargetName) <targetname>
The name of the entity to throw the rock at.
Rock Damage Override (RockDamageOverride) <integer>
damage to be used instead of the the default rock damage.
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

Inputs

LaunchRock
Launch a rock
SetTarget <stringRedirectInput/string>
Target a new entity (by name)

See Also