room = _server.getCurrentRoom();
Posted: 20 Sep 2008, 05:17
hi
when i call
on a server extension , does it return the room object of that instance of that extension .
create game .... new game_ext() ... roomid=10
create game .... new game_ext() ... roomid=11
in any function of game_ext() .... where theroom id is .. 10 .. and i call room = _server.getCurrentRoom(); .... would room.getId() return 10 ...
not sure if this makes sense...
when i call
Code: Select all
room = _server.getCurrentRoom();create game .... new game_ext() ... roomid=10
create game .... new game_ext() ... roomid=11
in any function of game_ext() .... where theroom id is .. 10 .. and i call room = _server.getCurrentRoom(); .... would room.getId() return 10 ...
not sure if this makes sense...