|
mylo Newbie
Joined: 24 Jun 2003 Posts: 8 Location: USA
|
Posted: Tue Sep 23, 2003 10:08 am
Gate Post |
I have a script that creates a gate post, it keeps track of the mob name, the room and area that I am in. That way when I want to return to my gate post my mapper will know what room I left off in. This script worked fine in 6.40 but when I upgraded to the 6.62 my scripts no longer kept track of the room number. Here is the scripts:
#CLASS {Post}
#ALIAS post {c summon "%-1";post.Zone = %zonename( );post.Room = %roomnum( );post.Mob = "%-1";#ECHO -------------Post Info---------------;#SHOWDB @post;#ECHO -------------------------------------}
#ALIAS return {c gate @post.Mob;#TELEPORT @post.Room @post.Zone}
#VAR post {RoomZoneArabian Clan HallMobsorbus}
#CLASS 0
I have tried changing the roommode to 0 and 1 but that has no effect on my scipt what-so-ever.
Can you help? Thanks.
Mylo |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Sep 30, 2003 7:20 am |
If you can't get %roomnum to work, perhaps you could use another function such as %roomname or %roomid.
If there's no longer a simple method of obtaining the room number, a bug report might be worthwhile. |
|
|
|
|
|