pic1 and pic2 is my enemy’s blueprint script.
The destroycomponent in pic 2 is not working.
What’s wrong in my script?
pink, green, and black is my bullets.
how can I destroy my enemy when my bullets (pink, green, and black) overlap?
pic1 and pic2 is my enemy’s blueprint script.
The destroycomponent in pic 2 is not working.
What’s wrong in my script?
pink, green, and black is my bullets.
how can I destroy my enemy when my bullets (pink, green, and black) overlap?
your boolean logic is wrong … in this case, the destroyactor will run if your bullet is pink and green and black …
how can I correct my blueprint??
I want to make the enemy overlap three kinds of bullets(or more)
sorry, my English is not good.
just replace your AND with a OR.
AND = true only if A=1 and B=1 and C=1 …
OR = true if A=1 or B=1 or C=1 …
thank you for answer my Question.
My problem is my playercharacter should shoot 3 types of bullets in order of color(yellow, pink and green), only if the player shoot till the third bullet(green), the enemy will be defeated(destroy).
So it’s more complicated than that :
imo I would do smth like 2 bool variables bYellow and bPink and each overlap :
sorry I try to working on these problems in few days but I really confused …
(green → pink → yellow) = destroy(X)
(yellow → pink → green) =destroy(O)
I want to follow the step but I can’t.
This code may do what you want for (green → pink → yellow) = destroy(X) :
thank you for answer my question.
it do work thank you!
I appreciate.
Mark this as answered if you are happy, it’s better for tracking