by Clifton » Sat May 17, 2014 6:27 am
Attached is a little tbk that demonstrates your scenario. I've included a little bit of AE code to prevent objects from appearing and disappearing during the wait time (like if a person answered the question multiple times). If you set the parameter preventMultiDelay = true, then pgTBObjSet() will cancel any waiting timers on the object specified. This function is one of more powerful functions in the PowerPac in that it can manipulate nearly every object and property and some that are not even available to the normal AE system. Permitting multi-delays allows for interesting effects, but it may not be a good feature for this particular scenario—so it can be turned off in the parameters.
Not sure exactly what you intend to do with preventing multiple student answers, but it should not be a problem.
- Attachments
-
pgTBObjSet_delay.zip
- Example tbk (ToolBook v9.01 file)
- (38.23 KiB) Downloaded 117 times