question

feelinggameyvesyiu avatar image
feelinggameyvesyiu asked

Grant initial inventory to new player in v2

Hi I am trying to grant initial inventory items(V2) to new player by setting new rule. The problem is I can only grant items in Legacy Economy. It seems like the 'Grant Item' action cannot include the items in V2 Is there other way to grant initial items(V2) to new player?

6364-image.png

In-Game Economy
image.png (34.9 KiB)
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Neils Shi avatar image
Neils Shi answered

In the ACTIONS field of the Rules, you can choose “Execute Azure Function” type. Then you can call API like ExecuteInventoryOperations to grant the Economy V2 items to new created players via Azure Function. For more info, please refer to PlayFab CloudScript using Azure Functions Quickstart Guide - PlayFab | Microsoft Learn.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.