Instance ID/NAME (Like Flash Movieclip Instance)

  • Hello All,

    I have seen others ask this question, however I still am lost.

    Rather than using -- > Pick nth instance --> number

    I want to use a name just like Movieclip Instance Names in flash.

    Like this --> Pick nth instance ==> box_1

  • Just use a variable. You can put what ever you like as the value, even a name.

    Then at runtime if you have three instances named huey, dewey, and lewy to pick on of them just use the compare variable condition.

    So if you wanted lewy you would just need to make sure that that value was a used as its variable.

    You have two ways to do that.

    1:Name it in the editor.

    2:Name it when it is created.

    The differences between the two was should be fairly obvious.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for the help. got it. problem was, i was changing the value via add/edit rather than just click and edit. lol

    Once again, thanks for taking the time to help.

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