The way i did it in game maker was to spawn the object, while storing its id. Example "mycap = instance_create(x, y, obj_cap);" then i just told the spawner object to reposition the cap to its x, y, using the mycap reference. "mycap.x = spawner.x; mycap.y = spawner.y;"
This process was strait forward for me.
In C2, i tried this by putting a variable in the spawner object, then did this condition "if spawner.myobj == 0 > spawn cap object > store spawner UID in cap object's variable > set spawner.myobj to 1" so it only triggers once.
then in every tick, i tried to set the caps position to the stored id like so "set position to self.storedid, self.storeid"
Didn't seem to work. What is one way to achieve this? Thanks for the help.
Also, there is no real in depth tutorials on varies uses of UID/IID in the manual or tutorial section, so i just been trying to guess it with no luck.