GetGoldAmount - Actor

Member of: Actor Script

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

SyntaxEdit

int Function GetGoldAmount() native

ParametersEdit

None.

Return ValueEdit

The amount of gold on this actor's person.

ExamplesEdit

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

See AlsoEdit