GetGoldAmount - Actor

From the Fallout4 CreationKit Wiki
Revision as of 14:41, 10 May 2010 by imported>Plplecuyer (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)
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]