GetGoldAmount - Actor

Revision as of 14:41, 10 May 2010 by imported>Jlundin (Created page with 'Category:Scripting Category:Papyrus '''Member of:''' Actor Script Obtains the amount of gold on this actor's person. == Syntax == <source lang="papyrus"> int Functi…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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