andrex123 Posted July 19, 2012 Share Posted July 19, 2012 Como puedo hacer que un comando lo use solo adentro de un marcador? createMarker Link to comment
Alexs Posted July 19, 2012 Share Posted July 19, 2012 addCommandHandler + onMarkerHit Link to comment
Castillo Posted July 19, 2012 Share Posted July 19, 2012 Usa esta funcion al usar el comando: isElementWithinColShape Link to comment
andrex123 Posted July 19, 2012 Author Share 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) Link to comment
Castillo Posted July 19, 2012 Share Posted July 19, 2012 Te olvidaste de definir: "thePlayer". Link to comment
Recommended Posts