User Tag List

Results 1 to 2 of 2

Thread: Are flags in the global event editor different than the frame event editor?

  1. #1
    Clicker Fusion 2.5

    Join Date
    Dec 2019
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Are flags in the global event editor different than the frame event editor?

    In other words, can I have Flag 1 in the global event editor be something and then have Flag 1 in the frame even editor be something different? Just curious.

  2. #2
    Clicker 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)
    Volnaiskra's Avatar
    Join Date
    Jan 2014
    Location
    www.sprykegame.com
    Posts
    2,501
    Mentioned
    132 Post(s)
    Tagged
    0 Thread(s)
    Flags belong neither to the frame event editor nor the global event editor. Instead, they belong to Active Objects. So if you have an Active Object called FredFlintstone with Flag 1 on, that flag will be on no matter where you happen to be editing FredFlintstone.

    So as far as the basic question goes, that part is very straightforward: Flags are tied to objects; which editor you're in doesn't matter.

    One potential, semi-related, complication that's worth pointing out though is what happens if you have lots of FredFlintstone objects in lots of different frames, and you haven't checked the "Global Object" checkbox for the FredFlintstone object. In that case, every FredFlintstone in every frame will be a separate instance. Which means that if you turn on FredFlintstone's Flag 1 in Frame 4, the FredFlintstones in Frames 1, 2, 3, & 5 will still have a Flag 1 that is off.

    Now, if you have some global events that refer to FredFlintstone, which FredFlintstone they refer to will depend on which frame you happen to be in. So if you have a global event that says "if flag 1("FredFlintstone") = on, then kiss WilmaFlintstone" then the kiss will not occur until your game finds itself in Frame 4 (eg. because you told it to "jump to frame 4").

    If you want to avoid this kind of complication, and you want just one FredFlintstone that is consistent, then just check the "global object" checkbox on FredFlintstone. Then, the state of his flag will be the same no matter which frame you're in, and no matter which editor you're referring to him from.

Similar Threads

  1. Replies: 3
    Last Post: 31st January 2017, 10:26 PM
  2. Objects created in Event Editor vs Frame Editor
    By Grafer in forum Fusion 2.5
    Replies: 7
    Last Post: 7th October 2016, 11:46 PM
  3. Replies: 3
    Last Post: 14th October 2013, 01:54 PM
  4. Open Frame Editor and Event Editor at same time
    By juanjo in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 20th April 2008, 06:53 PM
  5. MMF 2 or 3 Global Event Editor Main Editor.
    By 00J in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 18th September 2007, 08:49 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
  •