Reverse array after for each loop .

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.
  • In classic loop i can spread value 0 in ID for example after start frame and get this (for 3x3):

    8 7 6
    5 4 3
    2 1 0

    After spread value 1 and
    Set Alterable Value A to 'abs(Alterable Value A -(Number of objects)) i'll get :

    1 2 3
    4 5 6
    7 8 9


    But how to do this in situation where i want to use For each loop?
    Every time i get inverse of my array :(

    Here is my code:
    -------------------------
    On group activation
    -start for each loop
    On each loop
    -set alterable string to string +string "id"

    ==========
    If my array is
    876
    543
    210

    after for each loop i get 012345678

    and vice versa

    i need to get
    123
    456
    789
    and for each loop 123456789

    sorry for my poor english )

Participate now!

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