count of rectangles with visited state
May 04, 2018
is there a way of counting all visited states on a slide without having to add a trigger to add to a variable on each rectangle.
my slide will have approximately 600 rectangle and i need a count of those that are in a visited state. is there a way of doing it please.
currently i have
"Add 1 to used when user clicks rectangle 1"
"Add 1 to used when user clicks rectangle 2"
"Add 1 to used when user clicks rectangle 3"
etc
the used needs to refresh after every click
11 Replies
The fastest way is to create a rectangle with the trigger, then copy and paste. The trigger will be carried along, and will refer to the new object.
If it is too late for that, you can create one trigger, copy it, select a new rectangle and paste. Since you are using the same variable, the paste will change the "When clicks" part to match the destination object.
Otherwise, it is one trigger at a time when they are clicked to see if they are visited :(.
You would also need a condition to only add when not equal to visited to ensure that it stops adding
i have done that.. created 1 rectangle with the triggers on, but the more rectangles i out on, the slower Articulate becomes to copy/paste the rectangles... so wondered if there was another way.
on my original, there will be about 600 rectangles
I am not sure how well Storyline well cope with 600 rectangles each with states and triggers. It will make the slide slow to load.
thats what i thought also, that why i wondered if there was another way to count the states without using triggers
No you will need triggers to do anything. Have you tried putting 600 shapes with a visited state and trigger on a slide? That would be my first step, to see if that works and is manageable.
this is the exact file which i am doing
It works, I didnt realise they were on layers as well, probably would have been easier to use the selected state which would have reduced your trigger count.
i put the plan on a separate layer so when editing the other layers, i didn't have this issue of articulate being slow.
Lots of objects on layers often slows Storyline down, I think you just need to add the last few in, looked like you had nearly 500 on there
yeah, nearly there...lol
This discussion is closed. You can start a new discussion or contact Articulate Support.