Asked
— Edited
Here is a stop script for all functions for all robots.
NOTE: You will have to configure some commands to fit your robot. Feel free to change/add things yourself. Copy and paste (ctrl+c[copy], ctrl+v[paste])
Stop()
StopAudio()
DroneEmergency()
SpeakStop()
MP3TriggerStop(d0, 38400)
GPSStop(latitude, longitude, resolution)
Halt()
Sleep(1500)
StopAudio()
1. Try and use the correct forum sections, I noticed you have also put this in hardware again.
2. Using the UBB codes (on the right ---> ) for Code help show the script a bit better.
And as for the script, it's a good start, but a couple of pointers;
GPSStop will stop when the GPS meets the coordinates specified. So in effect will move the robot to the GPS coordinates.
Anything after Halt() does not get executed.
Keep playing, it's the best way to learn, and I'm usually here to correct anyone (provided I can correct them).
i posted it to see what responces i will get. thanks for the halt() tip.
Code:
How do I stop a script from running since I cannot input any key attached script while it's running ? Is there a way ?
Best,
Elfege
Don't forget to put quotes around the scripts name. I canèt because of my quoutation glitch
Example: ÈItès hot and it doesnèt cool downÈ