Bid Request (For Each Object)

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.
  • We are looking for Bid on a extension that can perform the following function of helping to select groups of objects even if they are multiple instances of the same object that fit certain conditions laid out in the event, as described...

    If you think you can create this object, please let us know your bid number. Send me a PM, and ask any questions here!

    Please login to see this link.

    Clickteam on Please login to see this link. - Clickteam on Please login to see this link.

  • Quote from Kisguri

    For each (object1)
    + (a member of group with object1) is in play area
    -> Spread value A of object1

    I don't see the idea of this implementation I'm afraid.

    Wouldnt this do the exact same thing?:

    Code
    + (object1) is in play area
    -> Spread value A of object1

    "Spread value" only works if there are multiple instances of an object selected in your event.

    A For-each loop as an extension would have to be implemented like this:

    Code
    + (object1) is inside playing area
    -> Start foreach loop of (object1)
    
    
    On looped (object1)
    -> Do whatever you want with (object1)
    (objects selected in the first event would then be looped as a fastloop in the second event)


    I don't see how you would implement it as an extension in any other way. Just having it as a condition wouldn't really do any good.

    Quote from Kisguri

    For each (member of group X)
    + (a member of group X) has it's value A set to 1
    -> start loop "loop" X times, where X is the amount of members of group X

    Here the 'for each' -condition would restrict the number of loops, so that the actual loop count would not be the number of all members in group X, but instead the number of members with a certain alterable value set to a certain number. I'm not sure if this can be done, however, so it's be interesting to hear about this.

    I don't see what the 'For each' object would do here at all.
    The 'Select Object Extension' extension can already get the number of selected objects in a given event.

    Please login to see this picture. Please login to see this link. - Please login to see this picture.

  • Kisguri, based on my knowledge, the only way this object will be possible if it works like this:


    Code
    (object1) is in play area:
    	-> Start foreach loop "myLoop" of (object1)
    
    
    On loop "myLoop":
    + (object1)'s Fixed Value == Get ForEach's loop "myLoop" current Fixed Value
    	-> Do whatever you want with that object (object1)


    This would be the only way to control what objects were selected in the true event/fast loop.
    Because as far as I understand, it is not possible to alter the selected objects in a true event (did a bit of this sort of thing when i made the .net object).

    I had another idea of a different mode of operation that the object could do also, which would be possible: The ability to add groups of duplicate objects to the ForEach object, and then run the loop at a later time:

    eg.

    What do you think?

  • I say go for it, I know that the whole Object selection bit In MMF can be a pain in the youknowwhat, so I trust you will come up with the closest best solution.

    These two options should help alot!

    Please login to see this link.

    Clickteam on Please login to see this link. - Clickteam on Please login to see this link.

  • I am glad it is done, Can you please post the source in the archive, and seeing as Jamie agrees with being so bold, go ahead and send him your bill!

    ;)

    Please login to see this link.

    Clickteam on Please login to see this link. - Clickteam on Please login to see this link.

Participate now!

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