Is there a reliable way to pick the object (instance) that collided with another object (instance) of the same or different type?
It seems sub events will pick the object which was hit by the first object. I would like a reliable way to pick the object that initiated the collision, which in this case would be a member of Staff_Sec
Obviously the second sub event doesn't work.
So here I'd like a way to pick the Staff_Sec instance that collided. Might be worth mentioning that this family also shares sprites with the family NPCS
Develop games in your browser. Powerful, performant & highly capable.
Give the object an Instance variable of Boolean called "Has_Collsion". Create a condition that sais to change the variable to true on collision.
Add another condition that Staff_Secuity is "Has_Collision" is True