Forum Discussion
Help getting "clicked" options from list on other slides
The only means I can think of that relies on SL360 triggers is a lot more long winded in checks that using Javascript. And I don't know anything about Javascript. I guess that's what AI is for.
On the Base Layer of the slide where you have your words, each word needs a select state. I used 5 words for this example: cat, mouse, goat, lamb, cow
I also have 5 variables word1, word2 and word3 all with value of empty. I hate leaving variables blank. It's my quirk.
The trigger for EACH word would be (on the base layer)
Set state of "cat" to Selected
When user clicks "cat"
If state of "cat" = Normal
Else: Set state if "cat" to Normal
This trigger above toggles between the word "cat" being selected or not.
Because mine is not set to a timer, I had the next action occur when I click a NEXT button. The NEXT button shows the layer which assigns the values to the words that have been selected.
For my ease of use I wanted to assign a max of 3 choices (because I wasn't limited to a timer)
Each value to be assigned in this layer was activated by a rectangle I placed in the layer's timeline. I only did it this way so I didn't have a layer that had a heap of triggers based on When Timeline Starts. Also this method allows each batch of triggers to be closed or expanded for easier reading.
Also each rectangle is in order of testing for word1, word2 and word3. So rectangle 1 begins on the timeline first. Rectangle 2 starts a quarter of a second later and rectangle 3 another quarter after that. This makes sure all the tests are not done at the same time.
So the triggers on this layer starts with rectangle 1.
Set word1 to "cat"
When timeline starts on rectangle 1
If the state of "cat" = Selected
and word1 = empty
This was repeated for mouse, goat, lamb and cow.
My next trigger for rectangle 2.
Set word2 to "cat"
When timeline starts on rectangle 2
If the state of "cat" = Selected
and word2 = empty
and word1 (is not equal to) "cat" (this just makes sure the same word can't be assigned twice)
This trigger is repeated for mouse, goat, lamb and cow
eg.
Set word2 to "mouse"
When timeline starts on rectangle 2
If the state of "mouse" = Selected
and word2 = empty
and word1 (is not equal to) "mouse"
And the next batch of triggers on this layer is starts when rectangle 3 enters the timeline
Set word3 to "cat"
When timeline starts on rectangle 3
If the state of "cat = Selected
and word3 = empty
and word1 (is not equal to) "cat"
and word2 (is not equal to) "cat"
(again making sure the word "cat" hasn't already been assigned to a previous value)
As you can imagine if you have 40 words, in my version you would need to test all 40 words for the 20 variables you have.
My system doesn't care what order a user selects the words and if they unselect some words. And since mine checks for 3 variables if I only select 1 of the words the other 2 variables stay empty.
Best solution I have sorry.
Related Content
- 2 months ago
- 1 year ago