GetGoldAmount - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script

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

Syntax

int Function GetGoldAmount() native

Parameters

None.

Return Value

The amount of gold on this actor's person.

Examples

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

See Also