zell Posted June 29, 2012 Posted June 29, 2012 para hacer que la puerta se mueva esta bueno? (se abren por comando) local gate = createObject(ID 580, X, Y, Z, ROTATION 0, 0, 0) local gate2 = createObject(ID 580, X, Y, Z, ROTATION 0, 0, 0) function open() moveObject ( gate, 2000, X, Y, Z, 0, 0, 0 ) end addCommandHandler("openg", open) function close() moveObject ( gate, 2000, X, Y, Z, 0, 0, 0 ) end addCommandHandler("closeg", close) function opengate2() moveObject (gate2, 2000, X, Y, Z, 0, 0, 0 ) end addCommandHandler("openg2", opengate2) function close() moveObject (2000, X, Y, Z, 0, 0, 0) end addCommandHandler("closeg2", closegate2)
Alexs Posted June 29, 2012 Posted June 29, 2012 Te faltaria cambiar las coordenadas, pero debe servir...
zell Posted June 29, 2012 Author Posted June 29, 2012 las cordenada solo las puse hace para da un ejemplo
Recommended Posts