GSC reference › Built-in
UseAlternateHud()
Built-in (engine)
Client
Use the alternate HUD in lui. Zombies only
Signature
UseAlternateHud(<onOff>)
Parameters
| Name | Required? | Details |
|---|---|---|
| onOff | Required | 0 = regular, 1 = alternate |
Real uses in BO3's scripts
Called 1 time in the decompiled scripts. A few, zombies first:
- scripts/zm/_zm_altbody.csc, line 120
self usealternatehud(newval);
Related built-ins
- NewClientHudElem()Create a new hud element for a particular client
- NewHudElem()Create a new hud element
- NewDebugHudElem()
- NewTeamHudElem()Create a new hud element for a particular team
- NewDamageIndicatorHudElem()Create a new hud element for a particular client
- ClearAlternateAimParams()Forces the local player to use default values for aim assist.
- setInTacticalHud()Sets if the player has the tactical hud open
- UseAlternateAimParams()Forces the local player to use alternate values for aim assist.
- NewScoreHudElem()Create a new score hud element for a particular client
- SetClientHUDHardcore()Sets ui_hud_hardcore dvar only on this client
- ZBarrierPieceUseAlternateModel()Sets the indexed piece to use the alternate model.
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).