This article's documentation is for the "GoldSrc" engine. Click here for more information.

Weapon lightning (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
No edit summary
Line 1: Line 1:
{{CD|CItemWeaponLightning|goldsrc=1}}
{{this is a|point entity|<!--sprite=1-->|name=weapon_lightning|engine=GoldSrc|game=Deathmatch Classic}} This entity is used to create the Lightning Gun Weapon.
{{this is a|point entity|<!--sprite=1-->|name=weapon_lightning|engine=GoldSrc|game=Deathmatch Classic}} This entity is used to create the Lightning Gun Weapon.



Revision as of 07:29, 18 March 2025

C++ Class hierarchy
CItemWeaponLightning
CItemWeapon
CQuakeItem
CBaseEntity
C++ quake_items.cpp

weapon_lightning is a point entity available in Deathmatch Classic Deathmatch Classic. This entity is used to create the Lightning Gun Weapon.

Key Values

Name (targetname) <string>
The targetname that other entities refer to this entity by, usually via the target, killtarget, and TriggerTarget KVs.
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

Not In Deathmatch : [2048]
Prevent this entity from attempting to spawn when deathmatch (multiplayer) is enabled.