Thread: Easy teleport void - makes it easier to program teleports

Results 1 to 9 of 9
  1. #1 Easy teleport void - makes it easier to program teleports 
    Registered Member

    Join Date
    Jun 2007
    Posts
    117
    Thanks given
    0
    Thanks received
    0
    Rep Power
    87
    Locked...It seems it has already been done
     

  2. #2  
    Donator

    Frosty Teh Snowman's Avatar
    Join Date
    Sep 2007
    Posts
    1,083
    Thanks given
    86
    Thanks received
    256
    Rep Power
    103
    simple.... could show how to add a command for this for the newbs?
     

  3. #3  
    Terror
    Guest
    Nise to bad it's been done 100xs of times and isn't the best way to use it.
     

  4. #4  
    Too Sick
    Guest
    Huh... I Am Sure I Have Seen This Before... Maybe In A Server?

    But Anyways...

    Cool
     

  5. #5  
    Registered Member pHametic's Avatar
    Join Date
    Nov 2006
    Posts
    637
    Thanks given
    3
    Thanks received
    1
    Rep Power
    11
    took from obeypk (hoodoosleep)
     

  6. #6  




    Scu11's Avatar
    Join Date
    Aug 2007
    Age
    27
    Posts
    16,206
    Thanks given
    7,190
    Thanks received
    12,170
    Rep Power
    5000
    Sorry, but you missed out an even bigger step to making it easier, and put it in your code.
    Code:
    teleX = #;
    teleY = #;
    What it was originally stated as.

    [Only registered and activated users can see links. ]



     

  7. #7  
    0x2B | ~0x2B


    Impulser's Avatar
    Join Date
    Jul 2006
    Posts
    1,305
    Thanks given
    389
    Thanks received
    335
    Rep Power
    2751
    well this inst making use of full teleporting fyi, the real void would be:

    public void Teleport(int TeleX, int TeleY, int TeleHeight)
    {
    teleporttoX = TeleX;
    teleporttoY = TeleY;
    if(TeleHeight != null)
    {
    heightlevel = TeleHeight;
    }
    }
     

  8. #8  
    Too Sick
    Guest
    knew i saw it in obby pk! lolz thats my sorce.. but i changed it
     

  9. #9  
    Terror
    Guest
    Quote Originally Posted by Impulser View Post
    well this inst making use of full teleporting fyi, the real void would be:

    public void Teleport(int TeleX, int TeleY, int TeleHeight)
    {
    teleporttoX = TeleX;
    teleporttoY = TeleY;
    if(TeleHeight != null)
    {
    heightlevel = TeleHeight;
    }
    }
    Code:
    public void Tele(int X, int Y, int H) {
    teleToX = X;
    teleToY = Y:
    heightLevel = H; //whatever heightlevel is defined as
    }
    ?
     


Thread Information
Users Browsing this Thread

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


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •