question

rogerolier avatar image
rogerolier asked

Questions about groups

Hi!

First of all, the new groups feature looks very cool, but after checking the docs I have some questions:

1- Is ok to use for short term groups? 2-3 minuts? or is better to use sharedgroups?

2- How can we set default policies like people can auto join? For short term we don't want confirmation.

3- The user need to know the ID of the group? There is no way to join by name of the group?

Thanks a lot

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

·
pfnathan avatar image
pfnathan answered

You can use for Short Groups, but please note that the template is a feature we are building after GDC. And, Auto accept and Joining is an also features which we will add after GDC.

For now auto join should be cloudscript, And yes, you can call getgroup with a name, then join from that id

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.

rogerolier avatar image rogerolier commented ·

Thanks.

I have another question:

-On cloudscript is easy to access the player ID with the currentPlayerId, how we can obtain the entity id of the player? We must send it as an arg?

0 Likes 0 ·
pfnathan avatar image pfnathan ♦ commented ·

Must send it as an arg currently, we have an entity based cloud script coming soon.

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.