User Tag List

Results 1 to 4 of 4

Thread: Issue of "Create object" event

  1. #1
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,846
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Issue of "Create object" event

    create_object_issue.zip
    Created object from event of second line.
    Is this a bug?

  2. #2
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Issue of "Create object" event

    Your first event is called 'never' so the object that the others should be created relative to doesn't exist since it isn't created.

    When you call the 'create object' action and MMF2 has no object to create it at, it just have to create it at 0,0

    As a side-note, since you use "Compare two general values" to test if 'Active 2's angle < 0.5 then MMF2 normally picks the last created instance of 'active 2' and return it's angle, but since there are no instances of 'active 2' MMF2 is forced to return 0 and since 0 < 0.5 is true the object is created anyway.

    Also *if* there were any instances of 'active 2' then 'active' would have been created relative to *each* 'active 2' object you have regardless of their individual angle as long as the last created instance of 'active 2' meets the angle < 0.5 criteria.
    This can be a somewhat confusing behavior and not seem logical, but it is in fact the right thing to do.

    If you had used one of 'active 2's own conditions to check some criterias, the 'create object' event would not even have been fired if there were no instances of 'active 2' that met the criteria. This is because of the object selection system in MMF2. Remember that each condition is meant to "pick out" the objects you want modified or do something with. Compare two general values does not to one bit of object selection but object's own conditions do.

    It is important to learn the differences between 'compare two general values' and an object's own conditions.

  3. #3
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Issue of "Create object" event

    because there in no event so test & select the objects angle, i would use.

    always+
    -set alterable value (?) to angle
    ;this would make each objects value (?) there own angle

    +if value(?)=???
    -bla bla bla

  4. #4
    Clicker Fusion 2.5 Developer
    00J's Avatar
    Join Date
    Jun 2006
    Location
    Virginia, USA
    Posts
    1,510
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Issue of "Create object" event

    Did it work? Test it and see.

Similar Threads

  1. global event to create an object
    By aylictal in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 10th September 2012, 07:47 PM
  2. Create Object Event
    By dcrew in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 13th October 2010, 02:58 AM
  3. Create Object relative to X/ Y Action issue
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 22nd January 2007, 01:07 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
  •