vivianhey's Recent Forum Activity

  • Hi all, thank you so much for your assistance. With your help, I figured something out using "Pick with UID" and storing the value of an instance variable into a local variable. (The IID is a great idea, but I need an invariable reference for this project.)

    I hoped to get around using UIDs because I can see the code getting unwieldy as the project grows. However, I'll play around with arrays and dictionaries to see if they can help manage object references.

    Once again, thank you.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This probably has a simple solution, but I've been banging my head against the wall for a week trying to figure it out alone.

    I have two instances of object type "Royalty": royal1 and royal2. They both have the instance variable of "married" with a boolean value and are created at the start of the layout.

    I want to create a condition that says do this if royal1.married == false AND royal2.married == false. In Construct 3, is it possible to compare the instance variables of instances of the same type?

    For context, the last engine I used was Unity. I know how to compare instance variables with OOP languages, but I'm finding it difficult to understand how to target specific instances in Construct's event sheet when the object instance isn't the last active instance.

    Any insight would be helpful.

vivianhey's avatar

vivianhey

Member since 16 Feb, 2024

None one is following vivianhey yet!

Trophy Case

  • RTFM Read the fabulous manual
  • Email Verified

Progress

2/44
How to earn trophies