Tete omar Posted May 22, 2012 Share Posted May 22, 2012 sorry if i being nutty in questions but somethings is absolutely different and i didn't face it before in my case I see no failed at "debugscript" but when i do the function which make this gate move then it does not make any change function move() if (point == 1) then moveObject(objectairportgate1, 5000, 1002.5999755859, -2310.1999511719, 20, 0, 0, 0) mytimer = setTimer(omgMoveobjectairportgate1, 5000+7000, 1, 2) elseif( point == 2) then moveObject(objectairportgate1, 5000, 1002.599609375, -2310.19921875, 14.89999961853, 0, 0, 0) setTimer(omgMoveobjectairportgate1, 5000+7000, 1, 1) function stop() killTimer (mytimer) stopObject (objectairportgate1) end end end Link to comment
Jaysds1 Posted May 22, 2012 Share Posted May 22, 2012 Sorry, I don't see any defined variables: function move() if (point == 1) then moveObject(objectairportgate1, 5000, 1002.5999755859, -2310.1999511719, 20, 0, 0, 0) mytimer = setTimer(omgMoveobjectairportgate1, 12000, 1, 2) elseif( point == 2) then moveObject(objectairportgate1, 5000, 1002.599609375, -2310.19921875, 14.89999961853, 0, 0, 0) setTimer(omgMoveobjectairportgate1, 12000, 1, 1) function stop() killTimer (mytimer) stopObject (objectairportgate1) end end end Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now