GetCaps - Game

From Creation Kit
Jump to: navigation, search

Member of: Game Script

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

Syntax

MiscObject Function GetCaps() global

Parameters

None

Return Value

The MiscObject that represents caps.

Examples

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

See Also