Text Overlay icon Text Overlay — Overlay a variable on a processed camera image at X/Y coordinates; name the variable and attach to a specific or any available camera Try it →
Asked — Edited
2 Participants

If i take scripts that all co-operate(activate each other), Example:

Sleep(100)

controlcommand("soundboard", track_3)

controlcommand("bad", scriptstart) 

[or something like that]

Does moving all the scripts to script manager mess them up?

(start the script and it wont be able to find "bad")


ARC Pro

Upgrade to ARC Pro

Unleash your robot's full potential with the cutting-edge features and intuitive programming offered by Synthiam ARC Pro.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#1  

When editing a script, you can press the Cheat Sheet tab. That will show you every available ControlCommand() syntax.

Once you move scripts into script manager, you will notice the syntax changes.

#2  

ok so i have moved all my scripts over. now can i delete them and then do check syntax?

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#4  

Yes. You will want to change

ControlCommand("Look Left", ScriptStart)

to

ControlCommand("Script Manager", ScriptStart, "Look Left") 

etc.

For everything that used ControlCommand before (scripts, voice, personality generator, joystick, startup actions... everything).

As DJ said, you can just click on the right one under Cheat Sheet in the script config.