GetGoldAmount - Actor
Revision as of 13: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…')
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