User Tag List

Results 1 to 4 of 4

Thread: Referencing two objects from the same group in the same event

  1. #1
    Clicker Multimedia Fusion 2Android Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)iOS Export Module (Steam)
    Mr_A's Avatar
    Join Date
    Sep 2014
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Referencing two objects from the same group in the same event

    Is it possible?
    Let's say I've got two of the same "Active Object 1", or two object with the same qualifier "Group.Good".
    I want a third object to have its X position set to the X of "Active Object 1 whose alterable value A = 1" multiplied by the X of "Active Object 1 whose alterable value A = 2".
    Can I do it in just one event?

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module

    Join Date
    Feb 2014
    Posts
    1,055
    Mentioned
    29 Post(s)
    Tagged
    1 Thread(s)
    I don't think it can be done in 1 event as i had this exact same problem a while back & never solved it. Hoping sum genius on these forums can provide an answer

  3. #3
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    Ziplock's Avatar
    Join Date
    Oct 2013
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I couldn't see this done without a loop. Maybe 2 lines:

    Start of Frame (or whatever stimulus)
    -> Set X("Object3") to 1
    -> Start Loop for each one of (Group.Good), loop name "Xpos"

    One each one of (Group.Good), loop name "Xpos"
    + Alt.A of (Group.Good) = Range (Alt.A(Group.Good),1,2)
    -> Set X("Object3") to X("Object3") * X(Group.Good)

  4. #4
    Clicker Multimedia Fusion 2Android Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)iOS Export Module (Steam)
    Mr_A's Avatar
    Join Date
    Sep 2014
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you very much Ziplock, you've been very helpful.
    Using loops is the solution to... pretty much every issue I've ever had.

Similar Threads

  1. Replies: 24
    Last Post: 12th November 2015, 06:23 AM
  2. Trigger Event When Objects in Group Share Same Value
    By Sky in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 5th June 2013, 11:18 AM
  3. Placing teleporters / Referencing objects
    By endlessloop in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 22nd August 2011, 07:13 AM
  4. Delay Before Event Group Dis-Engages.
    By celticafro in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 8th January 2011, 08:22 PM
  5. Object Referencing & Sub Objects
    By Bor in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 18th April 2008, 04:52 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
  •