Hi all,
I'm really new to Construct 2 and I wonder if it's possible to reference an object by its name.
let's say I have a spritePlayer1 and I want to know if it collides with a spriteWall.
In this case I only have to set the condition:
if spitePlayer1 collides with spriteWall then do something....
But what if I have more spritePlayer? 10, 50, 100???
is it possible to reference those sprites by its name so I dont have to set a condition for each spritePlayer???
if spritePlayer.name="five" collides with spriteWall then do something..
Thanks in advance...