Jump to content

anyone can help with this?


Recommended Posts

could anyone make me a script which when you type /gate (objectid) (command) you create a gate that only opens to a certain command to make it easier than having to type out the script every time a gate is needed oh and would it be possible to make it rotate with ctrl+arrow keys instead of mouse wheel? thank you.

Link to comment
Gate1 = createObject ( 988, 0, 0, 10.64999961853, 0, 0, 358.5 ) 
  
function toogleGate(thePlayer,command) 
        moveObject (Gate1, 4000, 2884.5769042969, 2097.2353515625, 5) 
end 
addCommandHandler ( "gate", toogleGate ) 
  

This will create a gate in the center of the map.

If you type gate, it will move down.

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...