env_rock_launcher

From Valve Developer Community
Jump to: navigation, search
class hierarchy
CEnvRockLauncher
CPointEntity
CBaseEntity

 env_rock_launcher is a point entity available in the 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.

Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.

Inputs

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

See Also