User Tag List

Results 1 to 5 of 5

Thread: Several condition based on ID number

  1. #1
    Clicker
    anatol's Avatar
    Join Date
    Jun 2016
    Posts
    69
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Several condition based on ID number

    Hard stuff for me here )))
    I`ve got several object (duplicates) with unique ID numbers.
    I need to check them like this :

    =======================
    IF object with ID =1 have scale = 0.1
    AND object with ID 3 have scale =0.1

    >>>

    Set position of both of them to y=0 x=0
    =======================

    How to do this ?

    Thank you !

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Posts
    1,290
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    I get the feeling this is going to be one of those that's very specific to the *exact* thing you're trying to achieve, and there will almost certainly be some piece of information you haven't mentioned, that will seriously affect the way you handle it.

    For example, the obvious solution:

    + Always
    -> Counter: Set to 0

    + ID of object = 1
    + Scale of object = 0.1
    -> Counter: Add 1

    + ID of object = 3
    + Scale of object = 0.1
    -> Counter: Add 1

    + Counter = 2
    + ID of object = 1
    -> Object: Set position to 0,0

    + Counter = 2
    + ID of object = 3
    -> Object: Set position to 0,0

    You should be able to combine those last two events with a "filtered or" if you feel like it...
    Running a fastloop a single time is also a very useful trick for resetting the object scope.

  3. #3
    Clicker
    anatol's Avatar
    Join Date
    Jun 2016
    Posts
    69
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I had thoughts about creating some counter, but I thought that it will constantly add 1 to counter under this permanent condition.

    + ID of object = 3
    + Scale of object = 0.1
    -> Counter: Add 1

    My ID number and scale doesnt change - so that counter will add endlessly..

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Posts
    1,290
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    See the first event.

  5. #5
    Clicker
    anatol's Avatar
    Join Date
    Jun 2016
    Posts
    69
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    ooops. )))

Similar Threads

  1. Number of a paragraph based on a counter
    By ffomega in forum Fusion 2.5
    Replies: 1
    Last Post: 11th March 2016, 10:29 PM
  2. Returning number of objects under a specific condition
    By Ibis in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 14th November 2012, 01:23 AM
  3. Condition based on contents of a string?
    By fawfulfan in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 15th January 2011, 10:53 PM
  4. number of objects with a certain condition
    By maVado in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 18th January 2008, 04:37 PM
  5. Maximum number of conditions in one condition row?
    By ichigo in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 18th November 2007, 11:58 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
  •