User Tools

Site Tools


give_currency

This is an old revision of the document!


Function


Gives the specified amount of a currency to a character.

Signature:

give_currency(amount, stat_id, character)
ArgumentDescriptionTypeRequired
amountAmount of currency to give.NumberYes
stat_idDefaults to “currency”.StringNo
characterDefaults to main player character.EntityNo

Example:

give_currency(100, "currency", player);

Results:

Use the Give Currency function to…


Editor Node:

give_currency.1712331894.txt.gz · Last modified: 2024/04/05 08:44 by justin