andrex123 Posted July 19, 2012 Posted July 19, 2012 Como puedo hacer que un comando lo use solo adentro de un marcador? createMarker
Castillo Posted July 19, 2012 Posted July 19, 2012 Usa esta funcion al usar el comando: isElementWithinColShape
andrex123 Posted July 19, 2012 Author Posted July 19, 2012 haci? marker = createMarker ( x, y, z, "checkpoint", 4.0) function puerta51 () local detection = isElementWithinColShape ( thePlayer, marker ) if detection then moveObject ( puerta1, 4000, 213.30000305176, 1875.3000488281, 10.60000038147) moveObject ( puerta2, 5000, 214, 1876.5, 7.8000001907349) moveObject ( puerta3, 5000, 226.39999389648, 1870, 12.60000038147) end end addCommandHandler ("prueva", puerta51)
Recommended Posts