Asked
— Edited

hi i managed to find the sonar and got the sound to. i have the rgb,so how do i wright all this in a script. what i want is that the sonar turn whit sound and when he spot an object. the rgb flach red whit sound danger danger danger.
thanks
@Rich... this is all yours dude...
rr
nope that doesn work?
Nomad, I suggest you check out the EZ-Script Tutorial. It covers the basics.
Once you have understood the EZ-Script Tutorial you will have a better understanding of what a script is, the available commands, which commands are required for the task you have described and how to easily create the script without much typing at all.
In addition to the EZ-Script Tutorial there is also the EZ-Script Manual which I recommend reading through so that you can understand which commands do what, how they work and the correct syntax.
rich
thank you for the link.
@Nomad ... I don't think you need our help anymore to find the tutorials how to do all this stuff, do you?
OK nomad, what you'll need to do is make a script which does the following.
Any problems please tell me and ill fix it(anyone).
Techno, just curious as to what the + 1 is in the code.
Have I missed a function in EZ-Script?
That was meant as take the current position and add one. Should be $sonar +1.
Final code V1