Thread: Anim then Teleport Fast Tele: Help

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 Anim then Teleport Fast Tele: Help 
    Extreme Donator

    Assist's Avatar
    Join Date
    Feb 2012
    Posts
    592
    Thanks given
    46
    Thanks received
    46
    Rep Power
    102
    Code:
                            case 9013:
                            if (System.currentTimeMillis() - c.lastVeng > 50000) {
                            c.startAnimation(3129);
                            c.lastVeng = System.currentTimeMillis();
                            c.sendMessage("You invoked the sceptre and teleported home.");
                            c.teleportToX = 2607;
                                   c.teleportToY = 3096;
    }
                            break;

    Trying to make it do a animation Then teleport. :censor:
    Reply With Quote  
     

  2. #2  
    Extreme Donator

    Assist's Avatar
    Join Date
    Feb 2012
    Posts
    592
    Thanks given
    46
    Thanks received
    46
    Rep Power
    102
    Bump
    Reply With Quote  
     

  3. #3  
    Extreme Donator

    Assist's Avatar
    Join Date
    Feb 2012
    Posts
    592
    Thanks given
    46
    Thanks received
    46
    Rep Power
    102
    Still Need This.
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    May 2011
    Posts
    1,010
    Thanks given
    78
    Thanks received
    64
    Rep Power
    0
    add a timer?
    Reply With Quote  
     

  5. #5  
    Extreme Donator

    Assist's Avatar
    Join Date
    Feb 2012
    Posts
    592
    Thanks given
    46
    Thanks received
    46
    Rep Power
    102
    Explain..
    Reply With Quote  
     

  6. #6  
    Extreme Donator

    Assist's Avatar
    Join Date
    Feb 2012
    Posts
    592
    Thanks given
    46
    Thanks received
    46
    Rep Power
    102
    I tried using wait but it didn't do me any good, Rsps Api's are so weird.
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Aug 2011
    Posts
    2,760
    Thanks given
    297
    Thanks received
    534
    Rep Power
    1596
    It executes all the code at once, add a delay using an event or tick.
    Quote Originally Posted by Aj View Post
    This is not even a tutorial. It's fail for rep. It's fail for life.
    Reply With Quote  
     

  8. #8  
    Extreme Donator

    Assist's Avatar
    Join Date
    Feb 2012
    Posts
    592
    Thanks given
    46
    Thanks received
    46
    Rep Power
    102
    I tryed using wait(10);
    I added the void but nothing happens just a shit load of errors, Does anyone the Api wait for Rsps Api's?
    Reply With Quote  
     

  9. #9  
    Extreme Donator

    Assist's Avatar
    Join Date
    Feb 2012
    Posts
    592
    Thanks given
    46
    Thanks received
    46
    Rep Power
    102
    Quote Originally Posted by 'Spike View Post
    It executes all the code at once, add a delay using an event or tick.
    I assume you are talking about :

    if (System.currentTimeMillis() - c.lastVeng > 50000) {
    c.lastVeng = System.currentTimeMillis();

    when you talk about tick?
    Reply With Quote  
     

  10. #10  
    08-13, SpawnScape Owner

    jet kai's Avatar
    Join Date
    Dec 2009
    Age
    28
    Posts
    870
    Thanks given
    630
    Thanks received
    957
    Rep Power
    5000
    Tick timers are best to use and to do the animation first you need to either put it before the

    animation here
    if (System.currentTimeMillis() - c.lastVeng > 50000) {

    or the tick timer that you added so like
    animation here
    player.ticktimerhere = 2;
    if(player.ticktimerhere == 0) {
    teletotheplace
    }
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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. 614 Tele, Anim, and Gfx command
    By jordan641 in forum Requests
    Replies: 1
    Last Post: 04-02-2011, 07:10 PM
  2. [PI]Home tele For 525-602 Anim+GFX[PI]
    By Yuuto Daiki in forum Snippets
    Replies: 11
    Last Post: 01-24-2011, 07:10 AM
  3. crop circle tele anim
    By Lord Stark in forum Requests
    Replies: 2
    Last Post: 01-17-2011, 12:24 AM
  4. Teleport anim inv.
    By *Contruct_ in forum Help
    Replies: 2
    Last Post: 12-11-2010, 12:42 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
  •