Map access points list

Post here your questions about the OpenSpace 2.x or notify bugs and suggestions.

Moderators: Lapo, Bax

Post Reply
atarim
Posts: 26
Joined: 19 Apr 2010, 04:40

Map access points list

Post by atarim »

Can I have a list of the access points of the entire map, or the contrary, have I list of all triggering tiles in the map?

I'm thinking of creating an xml file that maps all the rooms in the virtual world and connects rooms together by means of access point and not coords.

Thanks.
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

No sorry, this is not available. Why don't you create a trigger containing a code, and the xml maps each id to the destination coordinates?
Paolo Bax
The SmartFoxServer Team
atarim
Posts: 26
Joined: 19 Apr 2010, 04:40

Post by atarim »

I don't want to use coords in the xml - that can change each time I change the room design. I need it to be flexible.

I want to associate an ID with each access point (in the params field) so that an access point functions as an enterence point and a departure point as well.

By the way, can I tell an avatar to show in a specified access point when he enters the room? the AvatarCreationParams class does not allow that.
atarim
Posts: 26
Joined: 19 Apr 2010, 04:40

Post by atarim »

I think I have a solution for the problem:
I can use the tile name as the identifier I write in the xml.
That way I put my avatar in the desired tile with "getTileByName".
Post Reply