zell Posted June 29, 2012 Share 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) Link to comment
Alexs Posted June 29, 2012 Share Posted June 29, 2012 Te faltaria cambiar las coordenadas, pero debe servir... Link to comment
zell Posted June 29, 2012 Author Share Posted June 29, 2012 las cordenada solo las puse hace para da un ejemplo Link to comment
Recommended Posts