Check if enemy is dead. Urgent
Hi I need some urgent help. I need my level blueprint to check whether an enemy is dead. I have a blueprint called hivetest(this is the enemy), ive set it up so that right before the hive is destroyed it sets a variable(hiveisdead) to true. In the level blueprint i need it to check whether the hiveisdead is true or false and if its true change the level objective. I have set it up but im not sure what it is that im missing if someone could just point me in the right direction as to what it is i need to fix I would greatly appreciate it. This is the hivetest blueprint.
This is the part of the level blueprint where I want to check whether the hiveisdead variable is true or false.
If there is any other blueprint you need me to post in order to understand where the issue is just let me know. Thank you for any help.
asked Nov 28 '17 at 08:22 PM in Blueprint Scripting
The issue is that HiveIsDead is contained in the hive itself. If you destroy the hive, you are removing the variable, and the level can't reference it. You can do one of two things:
answered Nov 28 '17 at 09:26 PM
The first screenshot is form the actor HiveTest ??? if so you are destroying it when it dies, so it wont check the variable because it doesnt exist, maybe that is the problem
answered Nov 28 '17 at 08:49 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here