GetCaps - Game

Member of: Game Script

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

SyntaxEdit

MiscObject Function GetCaps() global

ParametersEdit

None

Return ValueEdit

The MiscObject that represents caps.

ExamplesEdit

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

See AlsoEdit