PlayMaker Feedback > Action Requests

Set String Incrementally

(1/1)

ThirteenOranges:
I've been trying to create a Set String action which updates the target string one character at a time with a specified time delay between updates. So far I haven't been able to get it working (my c# skills are pretty rudimentary at best) so I thought someone else might like to give it a try.

Example use: the target variable the text is being stored to is displayed onscreen in a GUI object, so the incremental updates adding a character at a time make it look as if the text is being typed (without manually adding every character with many dozens of states/actions)

Alex Chouls:
Try the Get String Left action. You can use an int variable for the Char Count and increment it over time...

There's actually a sample that does this:
PlaymakerSamples\TestLab\GUI\Typewriter

Navigation

[0] Message Index

Go to full version