User Tag List

Results 1 to 4 of 4

Thread: Newbie issue concerning event order and testing for conditions.

  1. #1
    No Products Registered

    Join Date
    Mar 2015
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Newbie issue concerning event order and testing for conditions.

    Hi all.

    I'm brand spanking new at Fusion 2.5, and just wanted to do a very simple dialog tree where the user presses Space to run through dialogue until he has to choose button A or B.

    While choiceState is 0, press Space to get through dialogue. Add 1 to count every time you press Space. Get to count 2 and set choiceState to 1. While choiceState is 1, press Space to make button appear.

    The button keeps appearing after pressing the Space key twice instead of on the third press. I've been banging my head on this for hours with no luck. Any help would be appreciated.
    Images attachées Images attachées

  2. #2
    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)
    If you want it to appear on the third key press, you would have to change it to Count = 3 then Set ChoiceState to 1. Since you have Count = 2 and every time you press the space bar it adds 1, it's going to run the event after you press the space bar twice.

  3. #3
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    Ziplock's Avatar
    Join Date
    Oct 2013
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looks like lines 3 and 4 will fire simultaneously with one keypress.

    Why don't you change the "choicestate" line in line 2 to "Count < 3", remove line 3, and change line 4:

    Count = 3
    + Upon pressing Spacebar:
    -> Make button reappear

  4. #4
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)
    Devis's Avatar
    Join Date
    Jan 2015
    Location
    Finland
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could make this happen by Using ALOT of objects instead of.. that. Example; Object "TextChoice1" is overlapping Object "Activator" User press key space, delete Textchoice1 -> Create Object Textchoice 2 -> Create object Activator 2 And so on. User press key Space -> Create "Choice" object... Just a wild idea.

Similar Threads

  1. Three conditions must be met in order
    By p377iott in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 3rd December 2014, 07:54 AM
  2. Too many conditions/ORs in an event vs separated events
    By DinnerSonic in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 26th July 2012, 03:14 AM
  3. Is there a way to have an event with multiple conditions?
    By randomdude90 in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 9th July 2012, 06:17 AM
  4. Two conditions for one event?
    By delta9857 in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 5th November 2010, 07:38 AM
  5. Any way to have "OR" conditions in an event?
    By Michael_Gummelt in forum Multimedia Fusion 2 - Technical Support
    Replies: 31
    Last Post: 15th July 2006, 07:37 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
  •