Thread: Homemade NPC combat.

Results 1 to 7 of 7
  1. #1 Homemade NPC combat. 
    Registered Member
    Arizona's Avatar
    Join Date
    May 2009
    Age
    29
    Posts
    275
    Thanks given
    11
    Thanks received
    12
    Rep Power
    113
    Ummm lil help, my other server got fked up because HD got scratched, so now ive made this ( i coded everything in it any i dont see anything wrong):






    help? its not a process() thing either.

    need more pics lemme know.
    TRUETECH LOL:
    Spoiler for Rofl:
    Reply With Quote  
     

  2. #2  
    isAwesome = true;
    Typhoeus's Avatar
    Join Date
    Nov 2008
    Posts
    815
    Thanks given
    18
    Thanks received
    13
    Rep Power
    246
    What's the code?
    Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction.
    - Albert Einstein

    It is one thing to show a man that he is in an error, and another to put him in possession of the truth.
    - John Locke
    Reply With Quote  
     

  3. #3  
    Registered Member
    Arizona's Avatar
    Join Date
    May 2009
    Age
    29
    Posts
    275
    Thanks given
    11
    Thanks received
    12
    Rep Power
    113
    Appreciate trying to help but im a hack, redid whole thing and:


    B00M!


    TRUETECH LOL:
    Spoiler for Rofl:
    Reply With Quote  
     

  4. #4  
    WLR Leaked!


    Join Date
    Jul 2008
    Posts
    981
    Thanks given
    161
    Thanks received
    48
    Rep Power
    572
    Lol arizona good job
    Reply With Quote  
     

  5. #5  
    DeclarationOfIndependence
    Guest
    You forgot to reset the damage delay.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Arizona's Avatar
    Join Date
    May 2009
    Age
    29
    Posts
    275
    Thanks given
    11
    Thanks received
    12
    Rep Power
    113
    Weee thanks for encouragment guys ^.^



    Quote Originally Posted by DeclarationOfIndependence View Post
    You forgot to reset the damage delay.
    I do believe that was my problem, I used lastaction when in the "If(" i used lastattack
    TRUETECH LOL:
    Spoiler for Rofl:
    Reply With Quote  
     

  7. #7  
    Registered Member
    Deadly Uzi's Avatar
    Join Date
    Jul 2008
    Posts
    994
    Thanks given
    177
    Thanks received
    87
    Rep Power
    362
    I just put

    Code:
    if(!attacker.isAttacking())
    return;
    In my combat, and I do

    Code:
    if(victim.isDead()) {
    attacker.setAttacking(false);
    }
    Attempting to develop a multi-revision library. See it on GitHub.
    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
  •