PDA

View Full Version : [317] [TUT] Making Runecrafting teleports



Pwn Doctor
July 19th, 2011, 03:11
Hi, this is my first tutorial so I'm not sure of the protocol so I'm just going to get right into it.
This is how to make clicking the Runecrafting skill icon in the "skills" tab teleport you to an altar.

Copy/Paste the following into Clickingmost.java

case 33224: //rc
if(c.playerEquipment[c.playerHat] == 5527) //air
c.triggerTele(2845, 4832, 0);
else if(c.playerEquipment[c.playerHat] == 5529) //mind
c.triggerTele(2790, 4839 , 0);
else if(c.playerEquipment[c.playerHat] == 5531) //Water
c.triggerTele(2713, 4836, 0);
else if(c.playerEquipment[c.playerHat] == 5533) //body
c.triggerTele(2527, 4833, 0);
else if(c.playerEquipment[c.playerHat] == 5535) //earth
c.triggerTele(2660, 4839, 0);
else if(c.playerEquipment[c.playerHat] == 5537) //fire
c.triggerTele(2584, 4836, 0);
else if(c.playerEquipment[c.playerHat] == 5539) //cosmic
c.triggerTele(2162, 4833, 0);
else if(c.playerEquipment[c.playerHat] == 5541) //nature
c.triggerTele(2398, 4841, 0);
else if(c.playerEquipment[c.playerHat] == 5543) //chaos
c.triggerTele(2269, 4843, 0);
else if(c.playerEquipment[c.playerHat] == 5545) //law
c.triggerTele(2464, 4834, 0);
else if(c.playerEquipment[c.playerHat] == 5547) //death
c.triggerTele(2207, 4836, 0);
break;

That makes it so if you click the skill with any of the tiaras it will teleport you to the specific altar to that tiara.
Thanks for reading.

kudo
January 17th, 2012, 20:28
pi or delta ?

Unlimitedz
January 22nd, 2012, 11:59
pi..........

Unlimitedz
January 22nd, 2012, 11:59
delta...l..

BLiiiTz
March 26th, 2012, 06:57
I don't have a clickingmost.java file.

BLiiiTz
April 13th, 2012, 11:12
I put this into Clickingbuttons.java file btw, and works perfectly. Thanks.