Jump to content

Home

n00b script question


pablo_fett

Recommended Posts

The GetGold function will return the amount of Gold (aka Credits) that a creature has.

 

Example conditional script that returns TRUE if the player has more than 5000 gold:

int StartingConditional() {
  return GetGold(GetFirstPC())>5000;
}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...