Jump to content

Como creo este script


andrex123

Recommended Posts

Crear un objeto, creas un comando y algo como:

  
puerta = createObject (id, x, y, z, rx, ry, rz) 
function moverPuerta(player) 
moveObject (puerta, 5000, nuevaX, nuevaY, nuevaZ) 
setTimer (moveObject, 10000, 1, puerta, 5000, x, y, z) 
end 
addCommandHandler ("moverlspd", moverPuerta) 

Donde los valores como x, y, z son coordenadas de creacion y nuevaX, nuevaY, nuevaZ, serian las nuevas coordenadas para mover el objeto.

Link to comment
  • Recently Browsing   0 members

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