Complex variable system broke after I updated to current version.
Aug 14, 2014
I have been working on a complex training system for a sandwich company for several months now. After waiting several weeks for it to get revisions from all our training people I went back in to make some changes, all i needed to do was delete one button from each layer and add a couple words. I published the piece and went to demo it, and one of my most important on/off switch functions on my 'game board' is no longer working. It took several days to program it in back in Feb. and even after checking all my variables I don't know why it has stopped working. I haven't touched any of my switches that affect the function, so I can only guess that something happened to my program when I updated and now I cannot make it work. Is there any trouble shooting for this? I need to fix this ASAP before our next quarterly review.
The game file has hundreds of variables and is already bogged down, it is a game that has a board where you select a sandwich and size, then it takes you to a layer where you click objects to build a sandwich on a grill. I don't know if someone from the troubleshooting team can look at it and make sense of what has suddenly gone wrong.
Here is a sample of the variable coding for one of the buttons as well; all it does it change the appearance of the button as well as locks it out after one visit. I really need this function to work.
-------------
Action: Change state of
On Object: Chicken Small 'sandwich size buttons'
To state: correct
When: Timeline Starts
Object: Chicken Small 'sandwich size buttons'
On Condition:
Question1Answered == Equal to True
AND SmallChickenCorrect == Equal to True
-------------
Action: Change state of
On Object: Chicken Small 'sandwich size buttons'
To state: incorrect
When: Timeline Starts
Object: Chicken Small 'sandwich size buttons'
On Condition:
Question1Answered == Equal to True
AND SmallChickenCorrect == Equal to False
-------------
Action: Show layer
Layer: Small Chicken Philly
When: User Clicks
Object: Chicken Small
On Condition:
Question1Answered == Equal to False
------------
Action: Adjust Variable
Variable: Question1Answered
Operator: = Assignment
Value: Value --- True
When: User Clicks
Object: Chicken Small
2 Replies
I have not had anything break on updating, the key thing is to look if you have any unassigned variables and use references to step through.
I would be happy to have a look for you.
I have been back checking all my variables, but I will try checking through visual reference keys on the game board to see if the values change or not. After going through all 36 buttons they all appear to be linked properly so it has to be something small and errant. My boss just told me he doesn't want me giving the game to anyone who isn't a heroes staff member because of all the proprietary information embedded in it :/ They are locking out properly but the states won't change. Its puzzling. I may just need to rearrange all the actions so they flow in the proper order. Again. I'll report back if I can resolve it.
This discussion is closed. You can start a new discussion or contact Articulate Support.