GusBaz's Forum Posts

  • 4 posts
  • Thank you everyone for the replies, I did what lions_ suggested and used functions, worked like a charm!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, I have a condition that is referencing an instance of an object and I need an action inside this condition to refer to another instance of the same object, is it possible to do?

    What I want to do is move two objects to new positions but the condition is clicking only one of these two objects, taking into account that:

    These are not the only instances so I need to make sure I move only these two objects.

    The condition to move both is clicking the first object, not any of the two.

    I tried referencing the second object by UID as a sub-event but it doesn't work.

    Thanks!

    Tagged:

  • Thank you!

    I corrected that, I also found out what I was doing wrong, I used an inverted condition instead of else and it worked!

    What was happening is I couldn't make the card snap to the slot like I did before implementing the logic to go back to its previous position.

    Thanks for the help!

  • Hi everyone, I'm really new so sorry if this is obvious, I couldn't find an answer in the forums as I can't detect what I'm doing wrong, I want to pick an instance of a card object and snap it to an inventory slot:

    It worked when there was just one instance of the object, so I know the drag & drop logic is working, but I can't seem to make it work now that I introduced multiple instances, I don't know if I'm using "Pick Instance with UID" correctly.

    Thank you for your time!

  • 4 posts