How to make use of spread values?
Hi.
I spawn a number of enemies + their collisionboxes.
Now if i want to kill an enemy it kills ALL collisionboxes.
* on whateverkillsthem
-> destroy enemy, destroy collisionbox
I used then spreadvalues and tested them this way: User clicks on object (enemy or collisionbox) set counter to alterable value B. And it's working so far, every enemy has the same value B as their collisionbox.
So i thought i do this:
* on whateverkillsthem
+ Alterable Value B of Enemy = Alterable Value B of Collisionbox
-> destroy enemy, destroy collisionbox
But that doesnt destroy anything at all.
So either i can destroy one enemy and all collisionboxes or nothing at all....