theCapypara / GMnet-manual

Online manual pages for GMnet products http://gmnet.parakoopa.de/
Creative Commons Attribution Share Alike 4.0 International
1 stars 3 forks source link

Tutorial fix second room #5

Closed The-any-Key closed 8 years ago

The-any-Key commented 8 years ago

I'm currently working in 8. A second room and doors

After make all steps, it's working BUT when changing to other room, the other player also "travels" to the other room, according to manual thi can't happen: "When you make persistent objects, they are only persistent locally. That means when another player switches room, they will cease to exist in your game. When you enter the room they will be resent and recreated to your client."

So after check full demo code, it's necesary to make this:

Open obj_htme object. Add Room End event. Add this code for the action: ///htme_roomend(); - Clear up instances htme_roomend();

From: https://gmnet-engine.org/forum/viewtopic.php?f=18&t=126

The-any-Key commented 8 years ago

Same as #3 ... again :laughing: