getAllTiles?

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

Moderators: Lapo, Bax

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

getAllTiles?

Post by clouting »

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: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

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