Thread: waiting befor teleporting

Results 1 to 3 of 3
  1. #1 waiting befor teleporting 
    mironic
    Guest
    basicly i want to add a wait to teleporting

    like make it do the Emote first then after 5 miliseconds it teleports you

    how would i add this
    Reply With Quote  
     

  2. #2  
    Apple Computers
    Bridget7298's Avatar
    Join Date
    Aug 2007
    Age
    32
    Posts
    1,088
    Thanks given
    99
    Thanks received
    49
    Rep Power
    219
    Declare this int:

    Code:
    private int teleTimer = 3;
    Now where your teleport action button id is or command add this:
    Code:
    if (teleTimer >= 0) {
    teleTimer -= 1;
    }
    if(teleTimer == 0)
    {
    stillgfx(ID#, absX, absY);
    TELE X;
    TELE Y;
    }
    Tested it on my server so I hope it works for you
    Reply With Quote  
     

  3. #3  
    mironic
    Guest
    err you dident understand... the GFX is suppost to run first then the teleport... not all at once...
    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

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