Jump to content

Home

Credit Check Script


harIII

Recommended Posts

I need a script to check and see how many credits the player has on them.

 

For what purpose? You can use the GetGold() function to check how many credits the player has. If it's for a dialog conditional script, for example, you could use it like:

[color=PaleGreen]// ST: Example - Check if player has at least 1000 credits.[/color]
int StartingConditional() {
   return (GetGold(GetFirstPC()) >= 1000);
}

 

:wonder:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...