User Tag List

Results 1 to 10 of 10

Thread: Named flags

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Nov 2008
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Named flags

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=50140&Searchpag e=1&Main=7448&Words=%22name+flags%22&Search=true#P ost50140

    About #2 in that topic... How come we still don't have named flags? It's a pain to remember 32 flags by their numbers, and with widgets now popping up, it would be nice to get named flags (and expand on that number, since many people use flags to call "void" functions)

    Besides, it shouldn't be all that hard to code!


    Also this:
    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=72025&page=1

  2. #2
    No Products Registered

    Join Date
    Oct 2006
    Location
    South Africa
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Named flags

    Yeah, this is very important for readability. Also, being able to shift the order of named alts and flags would be good. As well as custom named qualifiers..

    If MMF had these features I wouldn't consider using another language as much for my projects.

    Edit:

    You could use the Named Variable Object to store the flag numbers, then retrieve them by name through the Named Variable Object.

    Anyways I'm sure CT will improve this one day.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Named flags

    You can use the "Value Add" Extension if you are worried about not having enough Alterable Values. For flags, why don't you use Alterable Values, Global Values, or Strings?

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  4. #4
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Named flags

    This has been discussed many times. Yes I wish flags could be renamed, but both Yves and Francois have said on several occasions that doing so is no easy task as much of the engine would have to be re-written.

    In short, this wont happen in MMF2, but will in MMF3

  5. #5
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Named flags

    Maybe if you ask real nicely, someone would make a flag extension? Hint, hint, Eliyahu. :grin:

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  6. #6
    Clicker Fusion 2.5 Developer

    Join Date
    Nov 2008
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Named flags

    stephen1980 could you link me to such a discussion? I'd love to read it... I searched before posting but found nothing.


    About the suggested workarounds: I know how to make it have a billion values, including using arrays... but the code would be a lot easier to read if we could just name flags right away...

    And that's not even mentioning the great benefit for widgets

  7. #7
    No Products Registered

    Join Date
    Feb 2009
    Location
    Texas
    Posts
    825
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Named flags

    i would like to be able to rename qulifiers in mmf3, or make my own, or just change the icon of them

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Named flags

    Zabooza, I think the same! I don't like the idea of having qualifiers limited, (even though icons dont really matter, the name should be changable) so we can only hope for a change in this.

    I can make an extension for nameable flags, just as I made an extension to customly name an unlimited amount of global values =D.

  9. #9
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Named flags

    Quote Originally Posted by Zabooza
    i would like to be able to rename qulifiers in mmf3, or make my own, or just change the icon of them
    Yes I really hope MMF3 will let us have greater control and customization over Qualifiers, Flags, etc.

  10. #10
    Clicker Fusion 2.5 Developer

    Join Date
    Nov 2008
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Named flags

    Quote Originally Posted by bigredron
    This has been discussed many times. Yes I wish flags could be renamed, but both Yves and Francois have said on several occasions that doing so is no easy task as much of the engine would have to be re-written.

    In short, this wont happen in MMF2, but will in MMF3
    I said "stephen1980" but I meant bigredron...

    Bidredron do you have a link to such discussion?

Similar Threads

  1. My First Extension (Named: I Want My RPG!)
    By Iwantmyrpg in forum File Archive
    Replies: 59
    Last Post: 12th July 2010, 01:17 AM
  2. Named Flags for Active Objects?
    By LazyCoder in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 23rd May 2007, 08:59 PM
  3. Idea: Named Flags
    By Looki in forum Extension Development
    Replies: 1
    Last Post: 1st October 2006, 01:51 AM
  4. Extension / Feature Request: Named Flags
    By Maverick in forum Extension Development
    Replies: 5
    Last Post: 17th September 2006, 05:35 PM
  5. Flags
    By konjak in forum Multimedia Fusion 2 - Technical Support
    Replies: 55
    Last Post: 2nd July 2006, 02:53 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
  •