Thread: Very simple clicking a object and making it teleport you.

Results 1 to 3 of 3
  1. #1 Very simple clicking a object and making it teleport you. 
    Banned
    Join Date
    Oct 2010
    Posts
    248
    Thanks given
    2
    Thanks received
    1
    Rep Power
    0
    Tryed on server's: Delta.
    Code:
    	if (objectID == ****)
    	{
    		toX = ****;
    		toY = ****;
    	}
    Very simple I know its for new coder's that want to learn a little as not alot of people helped me, Lol.:jelly:
    Reply With Quote  
     

  2. #2  
    q.q


    Join Date
    Dec 2010
    Posts
    6,535
    Thanks given
    1,072
    Thanks received
    3,534
    Rep Power
    4752
    So where do we stick this? Client.java?
    Reply With Quote  
     

  3. #3  
    Registered Member
    jordan641's Avatar
    Join Date
    Apr 2010
    Posts
    1,809
    Thanks given
    70
    Thanks received
    128
    Rep Power
    189
    This will just move you, not "teleport". No anims or gfx or anything.
    This is how I do teleports:

    Code:
    			case 4307:
    				String type = c.playerMagicBook == 0 ? "modern" : "ancient";
    				c.getPA().startTeleport(3222, 3222, 0, type);
    			break;
    So if your on ancient spellbook you do the ancient tele and if your on modern you do the modern one.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [PI] Making a Specific Object Teleport [PI]
    By Bomber Run in forum Help
    Replies: 3
    Last Post: 12-09-2010, 02:02 AM
  2. Replies: 5
    Last Post: 10-16-2010, 07:45 PM
  3. Making A Simple Portal to Teleport to Places
    By G R A P E D in forum Tutorials
    Replies: 8
    Last Post: 08-18-2009, 01:34 AM
  4. Replies: 5
    Last Post: 03-22-2008, 04:55 PM
  5. Replies: 14
    Last Post: 12-13-2007, 12:39 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •