User Tag List

Results 1 to 2 of 2

Thread: Selecting Multiple Objects by Alt Vals

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleFirefly 3D Module

    Join Date
    Oct 2006
    Posts
    138
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Selecting Multiple Objects by Alt Vals

    I'm experiencing issues and not sure whether it's just the way MMF handles events

    Can I select multiple objects in an event using alt vals? An example;

    AltVal.Z of Car = x ( select a car based on its Z value )
    AltVal.A of Driver = AltVal.A of car ( select which driver has the same alt A as the single car selected above )
    Driver anim is different to STOPPED ( Check anim of this SINGLE car above )
    - Change Driver animation to STOPPED
    - Stop Car

    This is just an example but would that event only affect a single driver and a single car like I think it should?

    What would happen if I reference groups instead of Car/Driver? Finding a lot of bugs using logic similar to this and trying to determine if it's me or MMF

    UPDATE: Tried it with a sample file, seems to work as intended. Must be a bug in my game :s

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    Alonso's Avatar
    Join Date
    Jul 2006
    Posts
    681
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If there always is an equal number of cars for drivers, you can simply use the "always" event to pass values from the parent to the child object, and then just test for the child values to determine the actions you want taken. If you don't have an equal number of cars for drivers, then Snail is right and you need to either foreach loop the objects/fastloop with indices to select each object. It's very easy either way, but I always prefer to use loop with MMF's selection process if I can—it's always faster.

    I made a post and an example about it here: http://community.clickteam.com/threads/82946-How-to-delete-single-instance-of-an-object?p=607953#post607953

Similar Threads

  1. selecting objects with values
    By Aikikame in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 31st October 2009, 01:32 PM
  2. Selecting and Uploading Multiple Files/Folder
    By Sleepstalker in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 16th June 2008, 03:20 PM
  3. Selecting other objects behind active objects?
    By LeeJiHoon in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 16th April 2008, 02:43 PM
  4. Selecting objects behind combo box
    By twister in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 16th December 2007, 06:35 PM
  5. Selecting Objects by Value?
    By YAS in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 31st August 2007, 09:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •