Room Extension and USER_VARIABLES_UPDATE Events

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Room Extension and USER_VARIABLES_UPDATE Events

Post by Lapo »

It depends if Users are allowed to stay in multiple Rooms at the same time because USER_VARIABLES_UPDATE event will fire in every Room where the user is joined.

More in general it also depends on what you need to do with those events. If you end up executing the same logic in two different places, then it will be best to handle the event at Zone Level.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply