teleportMyAvatar

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

Moderators: Lapo, Bax

Post Reply
lilshtz
Posts: 17
Joined: 16 Dec 2008, 15:32

teleportMyAvatar

Post by lilshtz »

perhaps this is intended functionality, but I thought I would post it up here:

When I teleport my avatar (using teleportMyAvatar) the map centers on it's teleportation end point.

is this intended? has anyone else seen this?
lilshtz
Posts: 17
Joined: 16 Dec 2008, 15:32

Post by lilshtz »

it should be noted that this only happens on the edges of the maps, and I think I have the map set to not scroll:

<ScrollPercentage>0</ScrollPercentage>
<ScrollTime>250</ScrollTime>
<ScrollTransition>easeOutSine</ScrollTransition>
<UseContinuousScrolling>0</UseContinuousScrolling>
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

Yes, the teleport function centers the viewport on the avatar.
Having the map not to scroll is not possible: setting <ScrollPercentage> to 0 is just a workaround, but, it doesn't work with the teleport.
Paolo Bax
The SmartFoxServer Team
Post Reply