flying1 wrote: ↑Wed Nov 15, 2017 4:52 pm
- When there is used Slideshow or pictures are changing too fast, the whole Tease AI is lagging. How can I show random pictures at high speed without lagging, what is the best way to do it? (local and urls mixed)
you can use a loop inside a script to do that, something like
@NullResponse @SetVar[picsToShow]=[100]
(chooseLoop)
@NullResponse @Goto(loop1,loop2)
(loop1)
@NullResponse @ShowBlogImage
@NUllResponse @Goto(loopCheck)
(loop2)
@NullResponse @ShowImage
@NUllResponse @Goto(loopCheck)
(loopCheck)
@NullResponse @ChangeVar[picsToShow]=[picsToShow]-[1]
@If[picsToShow]>[0]Then(chooseLoop)
Ok we're done with pics now!
This will loop picsToShow times before ending.
- If I want smth like objects or records, what should I use to replace them? (as I know, there are problems even with string variables in the last version)
I don't get what you mean....
Btw, there is not a real issue with string variables... the issue is just if you try to do something like @SetVar[myVar]=[myText]
because wars (unless they are @InputVar[]) are not supposed to be a string, but a value (@InputVar[] instead works fine with a string, since that is something that the user writes).
What's the use for hard-coding a string inside a var? Why not using a #Vocab? in anycase, your string value is preset by you when you write the script, so why using a var?