Help - How do I create Qualified Objects by using a Alterable Value

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Currently What I'm doing is trying to have my game create an object when you right click, however I don't have the want to manually program it.

    --------------------------------------
    So here's what I want the game to do

    Have 3 Objects with the same Qualifier

    Depending on the Current Value of a Counter, I want to create an object

    The game will create the object with the Alterable Value that is equal to the counter's current value.
    ----------------------------------------------------------------------------------------------------

    Anybody know of a way to do this?

  • If you change a little your plans there could be a bunch of ways:

    1) quicker
    name your objects 1, 2 and 3
    (frame editor - right click - rename)

    then "create by name..." str$(counter_value)

    2) flexible
    if you want more "talking" names, you can do something a bit more handy and flexible
    by using a database (list, array, whatever) with your object names


    3) convolute
    you could somewhat stick to your original plan
    if you add "create by name" extension
    will allow you to get an object's name from its fixed value

    so you could:

    1) loop through your qualified objects and store their alt val. A AND fixed value in a database
    2) whenever needed, search your database for alt.val.A, retrieve relative fixed value, create by name (get name by fixed value)


    side note __

    if objects are only three,
    you'd probably better make it manually as Shabadage suggests X)

    rightclick+
    counter = 1 >> create object A
    counter = 2 >> create object B
    counter = 3 >> create object CS

    a selection of my Fusion examples can be found Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!