M
marvoc
Guest
Hello,
I have a player unit which can switch to another enemy unit when if collision is done. I'm using collision_circle to detect. But the issue what I have, that I have many types of enemies. So I can't set up the "object" name in syntax of collision_circle.
I would like to have something like
if (collision_circle && stealing == true) do something;
and put this variable "stealing" to all enemy instances.
Then put "stealing" to the "object" definition in collision_circle. Don't know if is it possible...
I have a player unit which can switch to another enemy unit when if collision is done. I'm using collision_circle to detect. But the issue what I have, that I have many types of enemies. So I can't set up the "object" name in syntax of collision_circle.
I would like to have something like
if (collision_circle && stealing == true) do something;
and put this variable "stealing" to all enemy instances.
Then put "stealing" to the "object" definition in collision_circle. Don't know if is it possible...