-
MMF2 Qualifer Guide?
I've been into Object-Oriented Programming lately as well so the behaviours method just makes more sense to me than scripting the whole thing in the frame anyways. :-)
Of course, a one-frame game/app can be done quicker with the old style, but behaviours also have the advantage of simple copy/pasting, importing and dragging between different projects, which is always nice.
-
on the subject of Qualifiers... I've got a bit of an issue.
forgive the Pseudo code While/Wend to follow:
WHILE Group.Good is overlapping Group.Friend and Alterable Value A("Group.Good") = 0
Set Alterable Value A("Group.Good") = Alterable Value A("Group.Friend)
WEND
I can't get this to work and it's driving me nuts. I'm sure there's an easier way but i can't seem to find a way to pull it off.
The point is, when a Tile (friend) is dropped on another active (good) I need to pass the value of the Friend to the Good.
I have to use qualifiers because there are 81 GOOD and 81 Friends so the combinations are horrific without qualifiers. :)
-
Yes this can raise slight issues. The best way here is to loop through all the objects on this condition with a unique ID. If you're using Fusion 2.5, you can use the built-in ForEach Loops, highly optimised and fast!