Ending enemy collision volume after AI death
First time posting a question for me, so forgive me if this was already answered somewhere else...
I have enemies in my prototype that damage the player via a collision volume in front of the enemy's actor. this works fine, except it damages the player if walked over after the enemy is killed. I know where in my enemy character blueprint to enter a function to stop the collision, I just don't know what function or event I would need to utilize.
I would like to insert this functionality right before the AI loses control. I am new to blueprint, so any and all help would be really great. Cheers!
asked Aug 18 '18 at 03:20 PM in Blueprint Scripting
Lots of ways you could do it - add a boolean variable bIsDead and branch on it within the function that either calls or handles Apply Damage, or do similar with a Gate and on death, close the Gate. those are the first two that come to mind. You could also disable overlap events on the volume. lots of ways
answered Aug 18 '18 at 03:50 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here