How do I Compare

  • I am trying to compare 3 variables of 3 instances of the same object,

    I know that it will need to go , compare A with B and if they are = then compare B with C and if there are = then action()

    The bit I am stuck on is how to fill in the box to call the 2nd variable.

    any help gratefully appreciated,

    Thanks,

    The Text box object is called winnum and the instance variable is known as playthis and the UIDs are 23, 24 ,25

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you only have three Textboxes in total, you can actually address each directly. If there are more, you need to pick each, store the value to compare, and then test the three values. Here a sample using the text itself.

  • If you only have three Textboxes in total, you can actually address each directly. If there are more, you need to pick each, store the value to compare, and then test the three values. Here a sample using the text itself.

    Thanks blackhornet, have it working in my project , think it should be quite easy to scale up as well,

    Thanks Again

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)