User Tag List

Results 1 to 3 of 3

Thread: expression syntax question

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    expression syntax question

    I am using the Clickteam Movement Controller object to determine an angle between two objects. The standard expression for this uses 2 fixed values. It looks like this:

    AngleObjects( "Clickteam Movement Controller", Fixed( "Active" ), Fixed( "Active2" ))

    Unfortunately this seems to use the Hotspot for the fixed value. I want to use the Action point instead. Is this possible and can anyone give me the proper syntax?

    Thanks in advance,

    Mobichan

  2. #2
    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: expression syntax question

    Instead of retrieving the 'Angle Between two object' select one under neath 'Angle between to points' then in the first two parameters give the x & y of your first object and the last two give that of your second object.


    To retrieve action spots use the following syntax.

    SyntaxX: XActionPoint( "Active" )
    SyntaxY: YActionPoint( "Active" )

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: expression syntax question

    Thanks.

Similar Threads

  1. Expression Editor Syntax - Newbie question
    By JoergB in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 18th November 2011, 06:06 AM
  2. Anyone have a expression editor syntax guide?
    By ewh in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 21st February 2011, 12:49 PM
  3. String Syntax question
    By Drcooper in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th September 2010, 08:15 PM
  4. BUG! Expression reporting bogus syntax error!!!
    By Michael_Gummelt in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 30th July 2006, 05:06 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
  •