User Tag List

Results 1 to 2 of 2

Thread: Global Only Accepts Integers?

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Apr 2008
    Posts
    185
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Global Only Accepts Integers?

    I have a bunch of icons which i want to scale as the user mouse over them. I use
    Code:
    XScale( "Group.Buttons" )+Scale_Speed
    where scale_speed is a global valu (0.1) and this doesnt work. However if I remove the global and replace it with a fixed value of 0.1 it works eg
    Code:
    XScale( "Group.Buttons" )+0.1
    Why is this?
    Cheers

    P.s..interestingly enough, if I set the global to 2 it seems to do soething, although I obviously dont want it to scale up this quickly.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Global Only Accepts Integers?

    If I'm right, Global values don't support floats through the interface only cause they are transformed in integers. To prevent this problem, set your global float values in a "start of frame" event.

    It's a known bug in the Clickteam wishlist.

Similar Threads

  1. Restore a counter to integers?
    By Pixelthief in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th March 2009, 01:35 AM
  2. Random Integers.
    By Almightyzentaco in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 24th February 2009, 01:15 PM
  3. Turn counter value to integers?
    By gum in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 24th October 2006, 09:24 AM
  4. 241_MMF2dev -Global strings refusing being global
    By Tiny in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 19th July 2006, 07:00 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
  •