Hi,
If we create a dynamic room (from the client) using an xtName, xtScript. Would an internal event be fired on the server side for room creation? Can this even be caught in xtScript and can the properties of that room be changed from within the xtScript?
Pointers to any documentation would be helpful. Thank you.
Regards,
Yaswanth
Dynamic Room Creation Query
Hi,
this is what happens:
1- the Room is created
2- the extension is created and attached to the Room
3- an update is sent to the client
4- an event is fired on the server side at Zone Level
You have 2 options:
1- pass some room variables from client side that will be set when the room is created. This is ok if you want these values to be publicly available for all clients
2- if you want to set server-side-only properties, via Room.properties,
you can detect the Zone event (NEW_ROOM) and set the properties there.
this is what happens:
1- the Room is created
2- the extension is created and attached to the Room
3- an update is sent to the client
4- an event is fired on the server side at Zone Level
You have 2 options:
1- pass some room variables from client side that will be set when the room is created. This is ok if you want these values to be publicly available for all clients
2- if you want to set server-side-only properties, via Room.properties,
you can detect the Zone event (NEW_ROOM) and set the properties there.