Hi,
I'm trying to access a specific object instance (in this case a rocket) and position it depending on the position of my ship - Just for context this is to show that the ship is currently carrying the rocket.
My understanding is that the first Rocket I create will be assigned a UID of 0. Currently I'm creating a single Instance of Rocket, when I position all Rocket objects over my ship the Rocket appears but if I specify the Rocket with a UID of 0 it doesn't appear. Note I'm not deleting any rockets at this point so this shouldn't be the issue.
My Events look like this
Works fine
<font face="Courier New, Courier, mono">
Player | Weapon = "Rocket"
Action -> Rocket | Set position to (Player.X, Player.Y)
</font>
Rocket not positioned on Ship
<font face="Courier New, Courier, mono">
Player | Weapon = "Rocket"
&& Rocket | Pick Instance with UID 0
Action -> Rocket | Set position to (Player.X, Player.Y)
</font>
Apologies if this has already been answered, I've been through everything I could find on Unique, Instance ID's in the forums and couldn't see what I am doing wrong.
Many thanks
Ben