Jump to content

need help!


GerardWay

Recommended Posts

lol sorry for posting in the wrong place castillo :)

Gate1 = createObject ( 969, 209.69999694824, 1875.5, 12.39999961853, 0, 0, 0 ) 
  
function ToggleGate(thePlayer,command) 
moveObject (Gate1, 4000, 210.10000610352, 1875.5999755859, 8.8999996185303) 
end 
addCommandHandler ( "mgo", ToggleGate ) 
  

after that i want the gate to close automatically plz :)

Link to comment
Gate1 = createObject ( 969, 209.69999694824, 1875.5, 12.39999961853, 0, 0, 0 ) 
  
function ToggleGate(thePlayer,command) 
moveObject (Gate1, 4000, 210.10000610352, 1875.5999755859, 8.8999996185303) 
setTimer(moveObject,6000,1,Gate1,4000,209.69999694824, 1875.5, 12.39999961853) 
end 
addCommandHandler ( "mgo", ToggleGate ) 

This will close it after 6 seconds.

Edited by Guest
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...