How to spawn objects with a value from another on the go ?

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.
  • Hello,
    I'm trying to spawn text ("Chaîne") over an object ("Actif") with the given alterable value (named "ID" here), i simply cycle through all "Actif" while giving them an incremented number by the loop and spawn the text but it don't show the text at all.

    Here is a couple screens that may tell a lot more :

    The scene
    Please login to see this attachment.

    And the Event List Editor
    Please login to see this attachment.

    The disabled part 5 make the text but doesn't set any value, it stays to the default one...

    Feel not intuitive at all, i'd have thought the part 4 worked better but it doesn't at all.

    Could anyone help ?

  • For the part 4 : No, they aren't created. Screen is same as the one of the scene.

    If I enable part 5 (and disable 4) : They are created (81 one are, also too much) but keep their initial value excepted for one that appear as a little black square. Like that ("null" is the default value) :
    Please login to see this attachment.

    EDIT : Apparently, with part 5, it's looping 9 times over all "Actif" 9 instances, but the 9th is the only one set to the expected numbers, all of them on it.

    Edited 5 times, last by hide: precision + new finding (January 20, 2015 at 8:48 PM).

  • Ok, here's my suggestion (What I do anyways...)

    Event
    +Action
    Object


    Start of Frame
    + Active: Loop on each object (Under count)

    On each Active
    + Active: Set alterable value to Active's loop index
    + Create: String at (0, 25) relative to Active.
    + Set String's alterable test to Str$(Alterable Value(" Active"))

Participate now!

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