Thread: [PI] Dead while teleport

Results 1 to 7 of 7
  1. #1 [PI] Dead while teleport 
    Banned
    Join Date
    Jul 2013
    Posts
    383
    Thanks given
    108
    Thanks received
    25
    Rep Power
    0
    I need, if you are teleporting and your hp is 0, to stop teleport, and start dead anim, and the gfx for the teleport will reverse.

    Will Rep+
    Will Thank Button.


    I will Explain once again: I need help with, if you are fighting with someone, and then you teleporting, then he hitted you 99, ur hp now is 0, and you are teleporting, you dead in home, the loots items in home, ok now my question is:

    I need if u dead while teleporting to stop tele, and to start dead anim, and then the loots here in wildy not in home anymore.


    I need it like this video...

    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Jul 2013
    Posts
    383
    Thanks given
    108
    Thanks received
    25
    Rep Power
    0
    bump
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Dec 2011
    Posts
    967
    Thanks given
    234
    Thanks received
    208
    Rep Power
    0
    Code:
    public void startTeleport(...) {
    if (c.isDead)
    return;
    If you mean they are already like in the middle and loose all their HP?

    Code:
    public synchronized void getNextPlayerMovement() { 
    if (isDead) {
    getPA().applyDead();
    return;
    }
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Jul 2013
    Posts
    383
    Thanks given
    108
    Thanks received
    25
    Rep Power
    0
    No listen, i mean, for example: Me and you are fighting, my hp is 6, i tele... and you hitted me 6 while im tele..

    so when my hp is 0 while tele, i need it to don't go anywhere, to keep around, and to start dead anim.

    Like excatlly this video.

    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Jul 2013
    Posts
    383
    Thanks given
    108
    Thanks received
    25
    Rep Power
    0
    Bump
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Dec 2011
    Posts
    967
    Thanks given
    234
    Thanks received
    208
    Rep Power
    0
    Quote Originally Posted by Hakan View Post
    No listen, i mean, for example: Me and you are fighting, my hp is 6, i tele... and you hitted me 6 while im tele..

    so when my hp is 0 while tele, i need it to don't go anywhere, to keep around, and to start dead anim.

    Like excatlly this video.

    Exactly, when it is teleporting, it is trying to find the next player movement...

    So instead of making the next movement to wherever he seems to be teleporting, he stays right there, and it applies death. >.>
    Reply With Quote  
     

  7. #7  
    Donator

    Jason's Avatar
    Join Date
    Aug 2009
    Posts
    6,092
    Thanks given
    2,402
    Thanks received
    2,823
    Rep Power
    4550
    The proper way to do it would be to check if the player is teleporting while they're getting hit, if so then reduce the damage to 0. Don't PM me about how to do this as per usual, you can figure it out yourself.
    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] Dead while teleporting - Help
    By Alaa in forum Help
    Replies: 2
    Last Post: 08-25-2013, 07:59 PM
  2. [PI] Killed player while teleport!
    By Alaa in forum Help
    Replies: 9
    Last Post: 07-22-2013, 01:59 AM
  3. Replies: 10
    Last Post: 01-28-2012, 05:29 PM
  4. [Pi] Making levers hit while teleporting
    By Jesse in forum Snippets
    Replies: 9
    Last Post: 06-03-2011, 03:57 AM
  5. [PI] - Perfect Modern Teleports
    By George in forum Snippets
    Replies: 11
    Last Post: 07-24-2010, 08:11 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
  •