Hi everybody,
I've met the probleme that is beyond my understanding
When I created a pair - a friendly vis an enemy - everything was simple.
When I put in the layout another pair - here it comes.
My friendly has a gun. And the same gun has another friendy. But the enemy may be destroyed from the certain distance. If one friendly is close to the enemy and another is beyond of the effective range - only one hit must destroy the enemy and the second must not though bouth shots are done from 2 absolutely similar guns.
As far as I quesse it can be solved by creating something (I do not know whether it exists in Construct) like a hits history with 2 columns: 1 - the hit and 2 - the distance. In that case I could choose the hit corresponding to 2 simultaneous conditions.
Is there in Construct something that can solve the probleme? I was said that the array can be used for suh purpose. May be somebody will give an example?