BenS's Recent Forum Activity

  • Thanks, that helps alot. Looks like I'd misread another forum and confused UID's and IID's.

    I've just found some really useful instance reference in this thread scirra.com/forum/how-do-ifrequently-asked-questions_topic45416.html

    Thanks again for the help

    Ben

  • 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

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi,

    I'm Ben, I'm a software engineer who does a bit of games dev on the side. Previously I've played around creating Indie Games on the Xbox Indie Games service I'm looking to have a go at HTML5 and phone dev.

    Cheers

    Ben

BenS's avatar

BenS

Member since 12 Jun, 2012

None one is following BenS yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies