User Tag List

Results 1 to 7 of 7

Thread: Internal Flags question

  1. #1
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Internal Flags question

    Hey guys, this sort of touches base on my previous post, but i think i worded the issue wrong :crazy: Here's my deal, i am using Internal Flags to equip/unequip a weapon see this thread : http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=174408 now my problem lies within the next few steps. when i try to assign events to the separate flags, the animations only play 2 frames. i have one set just like this for my walk event:

    . "Repeat while key is pressed"
    + Internal Flag is On
    = Change animation to "Walking" , Look in Direction
    and using the Platform Movement object, "user is holding right key"


    any help would be much appretiated


  2. #2
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Internal Flags question

    something else i forgot to add, the active object moves when i press the right key, its just at that point that the animation loops the 2 frames out of the 8 total.

  3. #3
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    Killeen, TEXAS
    Posts
    1,062
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Internal Flags question

    the problem is the program will keep replaying the walking anim.
    you may have to split the animation commands from your movement events.
    ie: rather than use:
    . "Repeat while key is pressed"
    + Internal Flag is On
    = Change animation to "Walking" , Look in Direction
    and using the Platform Movement object, "user is holding right key"

    try:
    . "Repeat while key is pressed"
    + Internal Flag is On
    = counter[animation value] = 1 , Look in Direction
    and using the Platform Movement object, "user is holding right key"

    the counter[animation value], values could be 0= stopped ,1= walk etc.

    next lines put:

    if counter[animation value] = 0 & stopped animation is NOT playing -> play stopped anim.
    if counter[animation value] = 1 & walking animation is NOT playing -> play walking anim.
    etc.

    by seperating the animations, you will bypass the problem you are having.

  4. #4
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Internal Flags question

    Thanks! i'll give it a shot and send some feedback :grin:

  5. #5
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Internal Flags question

    still no luck man. but im playing around with it

  6. #6
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    Killeen, TEXAS
    Posts
    1,062
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Internal Flags question

    its about the easiest way i can think of to integrate into your exsisting code.

  7. #7
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Internal Flags question

    lol thanks again man, i understand your method and it makes since, just cant figure why the animation does that :mad: :cry:

Similar Threads

  1. Question about Flags and the Flag Object
    By Gullyking in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 21st June 2011, 09:18 PM
  2. Problems using Internal Flags
    By Warmachine in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 10th July 2010, 05:55 PM
  3. Internal flags questions
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 22nd January 2010, 12:04 PM
  4. Icon All User Flags Question
    By droberson in forum Install Creator and Patch Maker
    Replies: 2
    Last Post: 10th July 2009, 03:23 PM
  5. Internal Flags
    By weka in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 26th April 2009, 10:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •