SetHudCartMode - Game

From the CreationKit Wiki
Revision as of 10:09, 8 June 2011 by imported>Jlundin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Game Script

Sets or clears "cart mode" for the HUD.

Syntax[edit | edit source]

Function SetHudCartMode(bool abSetCartMode = true) native global

Parameters[edit | edit source]

  • abSetCartMode: Specifies whether to set or clear cart mode.
    • Default: True

Return Value[edit | edit source]

None

Examples[edit | edit source]

; Put the HUD into cart mode
Game.SetHudCartMode()


; Go back to "normal" HUD mode
Game.SetHudCartMode(false)

Notes[edit | edit source]

If you disable movement (via DisablePlayerControls()) while the hud is in "cart mode" then the "cart mode" will be lost until you re-enable movement again.

See Also[edit | edit source]