Hey everyone, I'm new here and need some help.
I've been reading lot's of articles and learning a lot but I can't seem to find the answer to this one:
I'm making a game where I have spawners that will spawn enemies, that then spawn their appropriate child objects.
So far it seems to be working but I'm running into some issues I'm trying to debug. I have it set up like this:
A spawner event creates the enemy first, and the enemy spawns with a flag "spawn children" on.
Then
- pick one of enemy
+ "Spawn children" is on
-- create Line-of-Sight at 0.0 from enemy
-- set "Spawn children" off
The line of sight seems to scope correctly to each instance of the enemy with event like
- Always
-- set position at 0.0 from enemy
I've read that I would need to create the child objects in the same event as I create the enemy to "pair" them. However at least for positioning my method works.
So I was wondering whether or not this paring is applied also when you create at another objects position, so I can rule it out in my bug testing as the cause?
Thank you for you help!