View Single Post
  #9  
Old 05-29-2007, 01:01 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Why do you have multiple sets of coordinates per each this.coords*?
Are they all the possible warp coordinates for each hospital warp level?

Try this:
PHP Code:
this.hosplvls = {"mafia_hospital-room1.nw","mafia_hospital-room2.nw","mafia_hospital-room3.nw","mafia_hospital-room4.nw","mafia_hospital-room5.nw","mafia_hospital-room6.nw","mafia_hospital-room7.nw","mafia_hospital-room8.nw","mafia_hospital-room9.nw","mafia_hospital-room10.nw","mafia_hospital-room11.nw","mafia_hospital-room12.nw","mafia_hospital-room13.nw","mafia_hospital-room14.nw"}; 
this.coords0 = {{28.75,44.5},{42.5,45.5}}; 
this.coords1 = {{24,15.5},{45.125,15.5},{57.75,15.5},{10.25,43.5} ,{40.25,47.5}}; 
this.coords2 = {{29.1875,43.5},{42.6875,43.75}};
this.coords3 = {{29.25,43},{42.6875,43.6875}};
this.coords4 = {{28.5625,44.25},{42.9375,44.25}};
this.coords5 = {{28.9375,44.0625},{42.6875,44.0625}};
this.coords6 = {{29,44.5},{42.6875,44.5}};
this.coords7 = {{28.5,44.25},{42.75,44.5}};
this.coords8 = {{28.5625,44.25},{42.4375,44.5}};
this.coords9 = {{29.0625,44.25},{42.5625,44.25}};
this.coords10 = {{28.9375,44.25},{42.4375,44.5}};
this.coords11 = {{28.9375,44.5},{42.9375,44.5}};
this.coords12 = {{28.9375,44.25},{44.5,44.125}};
this.coords13 = {{28.5625,44.25},{42.6875,44.5}};
this.warplvl int(random(0,this.hosplvls.length()));
this.newcoords "this.coords" this.warplvl;
this.warpxy int(random(0,this.newcoords.length()));
setlevel2(this.hosplvls[this.warplvl],this.newcoords[this.warpxy][0],this.newcoords[this.warpxy][1]); 
Reply With Quote