
MovieMaker
USA
Asked
— Edited
:start
stop()
:test
#See if someone comes too close to it
GetPing( d18, d17)
GetPing( d9, d8 )
Ping_wait(d17,d18,LOWER,20)
Ping_wait(d8,d9,LOWER,20)
goto (alarm)
goto(test)
:alarm
ControlCommand("Soundboard",Track_10)
goto(start)
say ("Exit ting Security Mode!")
halt()
RETURN()
Thanks in Advance
Mel
Ping_Wait(d9,d8,LOWER,20);
Ping_Wait (triggerPort, echoPort, [higher/lower/equals], distance)
GetPing( trigger port, echo port )
I don't quite understand.
*confused*
Just let me know if I am correct on all counts. I don't remember putting a ; at the end of the line in the EZScripts, only in the C-Scripts.
Well, let me know.
Thanks Orwnic82!
GetPing( trigger port, echo port )
you have it declared as:
GetPing( d18, d17)
but for
Ping_Wait (triggerPort, echoPort, [higher/lower/equals], distance)
you have:
Ping_wait(d17,d18,LOWER,20)
notice that your triggerport and echo port are backwards for the Ping_wait
I am sure you have GetPing right being declared before Ping_wait
Thanks, I really appreciate that.
Mel
God Bless You!