Is it possible to award a player a currency pack from cloud code?
It seems that calling player.addVGood(), and then consuming or using it doesn't trigger the currency award.
Thanks for any help.
Hi Kevin
Virtual Goods that are currency packs can only be brought using a store request,
But you can get the same behavior in cloud code by crediting the player the currency
Spark.getPlayer().credit1(quantity, reason);
Regards
Katie
Kevin Martin
Is it possible to award a player a currency pack from cloud code?
It seems that calling player.addVGood(), and then consuming or using it doesn't trigger the currency award.
Thanks for any help.
Hi Kevin
Virtual Goods that are currency packs can only be brought using a store request,
But you can get the same behavior in cloud code by crediting the player the currency
Spark.getPlayer().credit1(quantity, reason);
Regards
Katie
Customer Support
Hi Kevin
Virtual Goods that are currency packs can only be brought using a store request,
But you can get the same behavior in cloud code by crediting the player the currency
Spark.getPlayer().credit1(quantity, reason);
Regards
Katie
1 person likes this
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics