Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Dev_Sebas on August 11, 2012, 10:26:53 AM
-
How can I get custom properties of a room?For example currently map,tips,...
I need to get some properties but I can´t enter on the room.Do you get the idea?Something like this.
Is there any way to get a tag or a layer of a object in a room?
Bye
-
I think this video might help:
Setting a property is confusing if you've never done it before. If you don't do it right, the only thing you'll see is the name field when you use it.
-
I have already try it before, but that will I go put on target object?The room?How?
I don´t know...
Bye
-
I think I have found a solution
Why when the person creates a server and defines the map on server,the map is on the server name?
Like "My Server my map".
So when a person is jointing to the server PlayMaker will question the string server name contains "my map" so loads my map,if not loads another.
Do you get the idea?
Please comment and feedback this a bit.
-
Hi,
I am unsure about what you exactly want to achieve.
What network solution are you using, Photon or Unity?
what do you mean by map or tips? is it something that you expect to be built in?, there is not such thing as a map or tips for a room in multi player solutions are far as a I am aware.
bye,
Jean
-
Hi Jean
I´m using Photon for Unity
I mean you have a game with multiple maps in multiple servers so how can I know that I need to load the x map?I need to know it.For load the right map.So I find a solution for that.
Are you see?Which server have a map.
-
hi,
I am really at lost with what you mean by map... :) do you mean a level?
you should not run multiple servers for one game, you should have only one server.
bye,
Jean
-
Sorry but what I mean by a server is a room.
Which room have a map.
-
In my game with Photon
I have multiple rooms
Which room is running a map.
-
Hi,
ok, it's something that is not really the job of the Photon. You will need to maintain a list or a hashtable of the relation between scenes and map, but really in that case, I would suggest that you call the scene by the name of the map, then it's easier, simply load the scene named by the map you want to load.
If you actually mean that for a given room, there can be different scenes, then I think you will need a taylored system that extends beyond what's currently available in the photon bridge we've built so far. I know for example that a room can host custom properties, that could be your way out for this feature you want to implement.
So in short, if I give you the ability to store custom information for a given room, would that help in your case?
bye,
JEan
-
Jean
I found the solution already,that thing with the name of the map in the server name.It works for me.Or you think that it can have bugs?
About you build the ability of store custom information about the room?I don´t know, I like always the new features but if you made it you can´t have much time for your things.
Bye
-
Hi,
I'll see what I can can do. as for your current solution, I can't say if that's a good one or not, since I would need to see it in action.
bye,
Jean
-
I think that it´s a good solution.
BTW will you go to UNITE12?
Bye
-
Hi,
yes, I will attend Unite :) pretty excited with this actually!
bye,
Jean
-
Me too