Duda SetPlayerAttachedObject - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (
https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Duda SetPlayerAttachedObject (
/showthread.php?tid=478232)
Duda SetPlayerAttachedObject -
TheThug - 28.11.2013
Hay alguna forma de que el objeto aсadido en SetPlayerAttachedObject siga el moviemiento de una Animaciуn?
Por ejemplo el de comer, el objeto se pone en la mano,pero la mano se mueve hacia la boca, hay una forma de que el objeto tambiйn?
Respuesta: Duda SetPlayerAttachedObject -
OTACON - 28.11.2013
atale el objeto cuando haces la animacion. (colocale ke se repita en ese momento).
Re: Duda SetPlayerAttachedObject -
TheThug - 28.11.2013
No te entendн.
Respuesta: Duda SetPlayerAttachedObject -
OTACON - 29.11.2013
1- mira e lee este tutorial que ayudada mas.
https://sampforum.blast.hk/showthread.php?tid=415182
2 debes de colocar el objeto en el slots ke corresponda a la mano del jugador
https://sampwiki.blast.hk/wiki/Bone_IDs
3- cuando estas editando el objeto con el editor colocale la animacion ke kieres ke haga cuando tenga el objeto, y asi colocaras el objeto en la posicion correcta.
saludos.
Re: Duda SetPlayerAttachedObject -
TheThug - 29.11.2013
Claro asн lo tengo, pero el objeto se queda quieto, no sigue el movimiento de la mano.
Respuesta: Duda SetPlayerAttachedObject -
OTACON - 30.11.2013
muestra parte del codigo, algo tienes mal.
saludos.
Re: Duda SetPlayerAttachedObject -
TheThug - 02.12.2013
pawn Код:
ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0);
SetPlayerAttachedObject(playerid,0,18865,1,-0.329999,0.009000,-0.301000,0.000000,0.000000,0.000000,1.000000,1.000000,1.000000);
Respuesta: Re: Duda SetPlayerAttachedObject -
OTACON - 02.12.2013
Quote:
Originally Posted by TheThug
pawn Код:
ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0); SetPlayerAttachedObject(playerid,0,18865,1,-0.329999,0.009000,-0.301000,0.000000,0.000000,0.000000,1.000000,1.000000,1.000000);
|
1- le estas colocando el objeto en Spine y no en la mano. https://sampwiki.blast.hk/wiki/Bone_IDs
2- coloca el objeto primero y despues la animacion.
saludos.
Re: Duda SetPlayerAttachedObject -
TheThug - 02.12.2013
Pense haberlo hecho xD, gracias.