question

Rafael Souza avatar image
Rafael Souza asked

How to make an entity call from dashboard

Trying to make an entity call from the dashboard for testings but the context parameter is null.

handlers.makeAPICall = function (args, context){}
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

·
Citrus Yan avatar image
Citrus Yan answered

You are trying to execute a CloudScript function for a specific player via its dashboard in GM, is that correct? In that case, context would be null because it’s not triggered by a task or a PlayStream event action. Therefore, you may need to pass the player’s info into the “args” parameter and add additional logic into your CloudScript function to help with your test.

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.