Thread: NPC Attacking Underneath, Project-Exile Bugs

Results 1 to 6 of 6
  1. #1 NPC Attacking Underneath, Project-Exile Bugs 
    Registered Member Slant's Avatar
    Join Date
    Nov 2012
    Posts
    42
    Thanks given
    3
    Thanks received
    4
    Rep Power
    14
    Remove plz
    Last edited by Slant; 04-06-2014 at 05:29 AM. Reason: Made a video
    Reply With Quote  
     

  2. #2  
    The Meme God

    4DFo's Avatar
    Join Date
    Dec 2013
    Age
    26
    Posts
    616
    Thanks given
    54
    Thanks received
    81
    Rep Power
    185
    Quote Originally Posted by Slant View Post
    Hi there,

    If I am standing on top of a NPC it won't let me attack it. How do I make it so it will walk me out from under neath the NPC and start attacking it. Thanks

    Base: Project-Exile Release

    Also if anyone has a bug log for this Base could they please post it below

    Thanks
    The way you'd do it is edit your following method, so it corresponds to attacking a NPC/Player.

    Attached image
    Attached image
    Rest easy, Brian x2. Suicide is never the answer.
    Reply With Quote  
     

  3. #3  
    Registered Member Slant's Avatar
    Join Date
    Nov 2012
    Posts
    42
    Thanks given
    3
    Thanks received
    4
    Rep Power
    14
    And how would I go about doing this?
    Reply With Quote  
     

  4. #4  
    The Meme God

    4DFo's Avatar
    Join Date
    Dec 2013
    Age
    26
    Posts
    616
    Thanks given
    54
    Thanks received
    81
    Rep Power
    185
    add something like
    Code:
     isUnderAttack
    or
    Code:
     isAttacking
    to the method. lol.

    Last liked by: Aj

    Attached image
    Attached image
    Rest easy, Brian x2. Suicide is never the answer.
    Reply With Quote  
     

  5. #5  
    Registered Member Slant's Avatar
    Join Date
    Nov 2012
    Posts
    42
    Thanks given
    3
    Thanks received
    4
    Rep Power
    14
    I had a look round and I found this

    public boolean ResetAttackNPC(int NPCID) {
    npcs[NPCID].IsUnderAttackNpc = false;
    npcs[NPCID].IsAttackingNPC = false;
    return true;
    }

    What could I change to fix this?
    Reply With Quote  
     

  6. #6  
    Registered Member Slant's Avatar
    Join Date
    Nov 2012
    Posts
    42
    Thanks given
    3
    Thanks received
    4
    Rep Power
    14
    Bump
    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. Replies: 4
    Last Post: 05-11-2012, 11:45 PM
  2. Replies: 4
    Last Post: 03-26-2012, 02:30 AM
  3. Emulous npc attack bug.
    By satan in forum Help
    Replies: 9
    Last Post: 11-30-2009, 08:23 PM
  4. NPC attack bug
    By Oxygen in forum Help
    Replies: 8
    Last Post: 05-06-2009, 06:26 AM
  5. the case for npc attacking.[PROJECT DUKE]
    By `Lubricant in forum Tutorials
    Replies: 19
    Last Post: 08-22-2008, 07:08 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •