i want my Target system to stop targeting once enemy is dead but im not quite sure how to set up that condition/boolean?
Hi! I think you can create a delegate and call it where you setup your death function. Make sure to have it take a bool as a parameter. You can then bind the delegate to the function where you want to check for your targeting system.
This should make it so this delegate fires whenever you call the death function and should send the current isDead
value to anything binded to it. If you need to have multiple functions check for the Death, you can bind those as well so this should help for future setup as well.
Hope this helps!