Destroy Enemy that DOES NOT Destroy Character?

Discussion in 'How Can I...?' started by DeadlySeriousMedia, Oct 11, 2015.

  1. DeadlySeriousMedia

    DeadlySeriousMedia Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    187
    Likes Received:
    172
    So I have an enemy that I want to character to be able to walk on without getting hurt but the character can push objects onto it that will destroy it. The problems seems to be that if the enemy is set to destroy none you can't seem to harm it.

    Is there a solution to this?
     
  2. Jamie

    Jamie Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    382
    Likes Received:
    273
    Is there a way to connect a logic transform block to an object such that pushing that object onto the enemy will destroy it?
     
  3. stevinz

    stevinz Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    169
    Likes Received:
    142
    @DeadlySeriousMedia I think that if you have the object as "Destroy Character", but give it a damage value of 0 it will not kill the character. But if you push some objects of type "destroy enemy" onto it, it should be able to be killed. I have not tested but I think it should work.
     
  4. DeadlySeriousMedia

    DeadlySeriousMedia Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    187
    Likes Received:
    172
    Doesn't work. I guess BuildBox is set to end game if a player collides with any enemy that is set to destroy character regardless of how much damage it deals. Sounds like Build Box needs to fix this bug.
     
  5. DeadlySeriousMedia

    DeadlySeriousMedia Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    187
    Likes Received:
    172
    Nevermind. Looks lilke you need to set the enemy damage to -1
     
    stevinz likes this.

Share This Page