Basically what im trying to do is to check every tick in my Friendly AI’s blueprint if the Enemy’s AI health is equal or less then zero. If true just set a variable to true, if not don’t do anything. But every time I run the game and quit. I get Accessed none over and over again… Please I really need your help
my workaround for this is to add an “? is valid” node before checking variables like this. it would have an is valid and not valid output. There are two nodes for this, one has a Boolean check and the other an actor check. i use the latter more often.
Accessed None means the Variable that should contain the Enemy is empty.
You need to fill this variable with your Enemy first (Set Node).
Is Valid simply checks whether A variable has a value or not and branches.
I tried using “is valid” with the question mark before checking the variables, like you told me. Then I connected Input object to my Enemy AI reference and if it Is Valid do the check. The problem is it’s always not valid. Am I doing it right? im new to “Is Valid node” and all of the Accessed none… (I’ve also added a screenshot down below)