GetGoldAmount - Actor

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

Obtains the amount of gold on this actor's person.

Syntax[edit | edit source]

int Function GetGoldAmount() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The amount of gold on this actor's person.

Examples[edit | edit source]

; See if this guy is rich or not
if Scrooge.GetGoldAmount() > 100
  Debug.Trace("Wow! This guy is rich!")
endIf

See Also[edit | edit source]