GSC reference › Built-in
AddAwarenessIndicator()
Built-in (engine)
Client
Draw an awareness indicator
Signature
AddAwarenessIndicator(<pos>, <material>)
Parameters
| Name | Required? | Details |
|---|---|---|
| pos | Required | awareness location |
| material | Required | awareness material |
Example (from Treyarch's docs)
AddAwarenessIndicator(ai.origin, "hit_material_green" )
Real uses in BO3's scripts
Not called anywhere in BO3's shipped scripts, so check it works in your mode before relying on it.
Related built-ins
- NewDamageIndicatorHudElem()Create a new hud element for a particular client
- ClearDamageIndicator()Clear damage indicator
- SetStealthSightAwareness()Set the current stealth sight awareness state for this sentient
- AddToDamageIndicator()Add damage to damage indicator
- DirectionalHitIndicator()Create a directional hit indicator
- SetDamageDirectionIndicator()Use the armor version of the hit indicator
- GetInterestPoolAwareness()Gets the current interest pool awareness level regardless of actual awareness level.
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).