Override _os_move in server side

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

Moderators: Lapo, Bax

arun8483
Posts: 33
Joined: 15 Dec 2010, 02:35
Contact:

Override _os_move in server side

Postby arun8483 » 02 Jan 2012, 09:06

HiAll,
How to override _os_move command in server side.... I tried addEventListener("_os_move", myHandler)... But nothing seems to be working...is there anyway I can override it?

To be more precise:
When we click on a tile, avatar moves to that tile by default. But I don't want this behavior. I want to control this feature in server side. But still I want to enable the hand cursor to all tiles. How to achieve this. I know how to add tile click event using map editor But I have around 400 tiles, I cant add listener to all individual tiles that doesn't make any sence, Is there anyway I can add the listeners to tiles at run time?
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 03 Jan 2012, 10:43

Not possible, sorry.
Paolo Bax
The SmartFoxServer Team

Return to “OpenSpace v2 discussions and help”

Who is online

Users browsing this forum: No registered users and 46 guests