getAllTiles?

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

Moderators: Lapo, Bax

clouting
Posts: 17
Joined: 18 May 2011, 13:57

getAllTiles?

Postby clouting » 08 Aug 2011, 12:56

Hi,

Is there a method that returns an array of all of the tiles in the users current room?

It seems such a basic request but I can't find a way to do it any where...

I am trying to teleport the users avatar into a new room on a random walkable tile but I can't find a way to retrieve all of the tiles in a specified room.

Thanks in advance
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 11 Aug 2011, 12:25

This feature is not available. Maybe you can use the IOpenSpaceAPI.getTileByCoordinates method as a workaround.
Paolo Bax
The SmartFoxServer Team

Return to “OpenSpace v2 discussions and help”

Who is online

Users browsing this forum: No registered users and 54 guests