GSC reference › Built-in
SetDamageDirectionIndicator()
Built-in (engine)
Client
Use the armor version of the hit indicator
Signature
SetDamageDirectionIndicator(<indicator>)
Parameters
| Name | Required? | Details |
|---|---|---|
| indicator | Required | 0 = regular, 1 = armor |
Real uses in BO3's scripts
Called 2 times in the decompiled scripts. A few, zombies first:
- scripts/shared/abilities/gadgets/_gadget_armor.csc, line 178
self setdamagedirectionindicator(1); - scripts/shared/abilities/gadgets/_gadget_armor.csc, line 183
self setdamagedirectionindicator(0);
Related built-ins
- NewDamageIndicatorHudElem()Create a new hud element for a particular client
- ClearDamageIndicator()Clear damage indicator
- AddToDamageIndicator()Add damage to damage indicator
- DirectionalHitIndicator()Create a directional hit indicator
- DoDamage()Does damage to this entity
- SetCanDamage()Set the candamage flag for this entity - this means that it can respond to notifies from bullets and grenade hits
- RadiusDamage()
- DamageConeTrace()Determines how much the entity can be seen from the given position.
- FinishVehicleDamage()Does damage to an vehicle - usually as part of the damage callback
- FinishVehicleRadiusDamage()Does damage to an vehicle - usually as part of the damage callback
- GlassRadiusDamage()Damages glass in the radius
- DamageRiotShield()Apply damage to a player riot shield or other weapon that supports damage states.
New to GSC?
Start with the basics, or paste a compile error to get the fix.
Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).