Is there a way to set a Virtual Currency to a specific number?
P
Paloma Costa
started a topic
over 3 years ago
Hello! The only way I can modify Virtual Currency values right now is increasing or decreasing quantity (+100 gold, + 150 gold, etc...) but I can't find any way to set the Virtual Currency to an specific quantity (for example, after some event I want the gold of the player to be exactly 15.000)
Is there a way to do that? I really need it.
Thank you very much!
1 Comment
S
Sida Li
said
over 3 years ago
The only way to do that is to calculate the difference between current and target, then either give or reduce by certain amount to match the target quantity.
Paloma Costa
Hello! The only way I can modify Virtual Currency values right now is increasing or decreasing quantity (+100 gold, + 150 gold, etc...) but I can't find any way to set the Virtual Currency to an specific quantity (for example, after some event I want the gold of the player to be exactly 15.000)
Is there a way to do that? I really need it.
Thank you very much!