Is it possible to have an image point for an object that's dependent on instance variables? I'm trying to create an enemy that spawns an object (a bomb), but i want the object to spawn a relative distance away from the enemy (so the same type of enemy will teleport bombs around the player based on its colour).
I've set the enemy object with its instance variable. In the event sheet I've set the enemy object to spawn the bomb object but i can't see what to set as the Imagepoint. I was hoping to do something like Imagepoint = enemy + enemy.spawnedObjectX but i can't seem to get anything working.
I'm not sure if that's the way to go about it since there seems to be no way to take into account positioning. Can anyone help at all?
Thanks in advance.