eldelahoz Posted January 5, 2013 Posted January 5, 2013 Hola lo que pasa es que estaba viendo es te scripting lo use y no me funciona y como puedo hacer para que solamente le abra la puerta automáticamente a los del clan theObject = createObject ( 980, 439.10000610352, 945.5, 3.9000000953674) x,y,z = getElemntPosition (theObject) Zona = createColRectangle ( x,y, 10, 10) function funcion () moveObject ( theObject, 10000, 430.29998779297, 937.29998779297, -1.9000000953674 ) end addEventHandler ( "onColShapeHit", Zona, funcion ) function funcion2 () moveObject ( theObject, 10000, 430.29998779297, 937.29998779297, 3.9000000953674 ) end addEventHandler ( "onColShapeLeave", Zona, funcion2 ) ¡Saludos!
eldelahoz Posted January 5, 2013 Author Posted January 5, 2013 Depende de como manejes los clanes. ok pero cual funcion uso y por que no me baja la puerta?
Alexs Posted January 5, 2013 Posted January 5, 2013 x,y,z = getElemntPosition (theObject) Eso no existe y no te puedo decir que función usar si no se como manejas los clanes.
eldelahoz Posted January 5, 2013 Author Posted January 5, 2013 Estas usando mi sistema de gangs? no ce que es eso
Castillo Posted January 5, 2013 Posted January 5, 2013 Explica lo siguiente: A que te referis con clan.
NodZen Posted January 5, 2013 Posted January 5, 2013 Quieres que solo se abra para un team o clan? Ademas està mal echo ese script
Alexs Posted January 5, 2013 Posted January 5, 2013 Disculpa @NOD pero creo que es poco productivo que le digas 'ese script esta mal echo' sin decirle que hizo mal.
NodZen Posted January 5, 2013 Posted January 5, 2013 Disculpa @NOD pero creo que es poco productivo que le digas 'ese script esta mal echo' sin decirle que hizo mal. Ya le dijiste que estaba mal x,y,z = getElemntPosition (theObject)
eldelahoz Posted January 5, 2013 Author Posted January 5, 2013 Miren ya lo e cambiado pero sigue sin funcionar theObject = createObject ( 980, 439.10000610352, 945.5, 3.9000000953674) x,y,z = getElementPosition (theObject) Zona = createColRectangle ( x,y, 10, 10) function funcion () if z == 3.9000000953674 then moveObject ( theObject, 10000, 430.29998779297, 937.29998779297, -1.9000000953674 ) elseif z == -1.9000000953674 then moveObject ( theObject, 10000, 430.29998779297, 937.29998779297, 3.9000000953674 ) end end addEventHandler ( "onColShapeHit", Zona, funcion ) Arreglen lo o diganme que esta mal por favor
Other Languages Moderators Cuervo_fi Posted January 6, 2013 Other Languages Moderators Posted January 6, 2013 Sí me agregas a Skype te ayudo con eso, pero tendrás que explicar como manejas los clanes, porque puede ser por team, acl y setElementData entre otros..
eldelahoz Posted January 6, 2013 Author Posted January 6, 2013 Sí me agregas a Skype te ayudo con eso, pero tendrás que explicar como manejas los clanes, porque puede ser por team, acl y setElementData entre otros.. Ok dime tu skype
Other Languages Moderators Cuervo_fi Posted January 6, 2013 Other Languages Moderators Posted January 6, 2013 ._. esta en mi descripción 'cuervo-f.i.'
eldelahoz Posted January 7, 2013 Author Posted January 7, 2013 ._. esta en mi descripción 'cuervo-f.i.' ya te agrege
Recommended Posts