GetCaps - Game

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Game Script

Obtains the MiscObject representing caps, the basic unit of money in the game.

Syntax[edit | edit source]

MiscObject Function GetCaps() global

Parameters[edit | edit source]

None

Return Value[edit | edit source]

The MiscObject that represents caps.

Examples[edit | edit source]

; Print out the caps object to the log
Debug.Trace("Caps are " + Game.GetCaps())

See Also[edit | edit source]