HTTP Server (Custom) icon HTTP Server (Custom) HTTP server for ARC serving HTML/CSS/PNG/JPG from ARC/HTTP Server Root; supports AJAX tags (ez-move, ez-script, ez-camera) to control the robot. Try it →
Asked — Edited

Script Manager

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

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

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.