question

james-1 avatar image
james-1 asked

Is there a way to grab the current TitleID from cloudscript much like "currentPlayerId" holds the current player Id?

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

·
brendan avatar image
brendan answered

Yes, the Title ID is available as:

script.titleId

Also, the Revision is available as:

script.revision

We'll have some updated docs available soon for Cloud Script, to help clarify all this.

2 comments
10 |1200

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

james-1 avatar image james-1 commented ·

Awesome! Thanks.

0 Likes 0 ·

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.