
06-17-2001, 07:22 AM
|
Psionic Youth
|
 |
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
|
|
1) I cheat. Figure the cells are all numbered:
if(playerenters){
this.rot=(this.rot+1)%10;
if(this.rot<5) playery=10;
else playery=50;
if(this.rot=0) playerx=10;
else if(this.rot=1) playerx=20;
//else if etc.
}
Every time someone enters, it puts them in the next cell, and it sorta loops, you get the idea.
2) The easy way is to edit the serverconfig.txt in your playerworld's FTP root directory, set the JailLevels=police2.graal line up right. The hard(er) way is to set a flag when they enter the jail, and an NPC in onlinestartlocal to warp them back if they unstick, but it's not as tidy. |
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."
"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
 - My pet, the Levelup Gnome
http://forums.graalonline.com/forums...&postcount=233
|
|
|