How do I assign childs or parents to an object in MMF2 ?
In case you don't know what I'm talking about I'll give an example:
Every time you create a new square, you might want to have a smaller square attached to that square so that you can assign events to that smaller square while selecting it's parent (the biggest square).
Well, Clickteam got rid of the whole parent/child concept in their recent products.
This is where you can use "spread value". There are a few articles on the subject (and also "duplicates" which are kind of related), but here's a quick example anyway:
+ always
-> spread value "1" in Alt. Value A("Big Square")
-> spread value "1" in Alt. Value A("Small Square")
+ player clicks on "Big Square"
+ Alt.Value A("Small Square") = Alt. Value A("Big Square")
-> destroy "Small Square"
Here, clicking on a big square will destroy the corresponding small square.