SA-MP Forums Archive
Actors are not sync... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Actors are not sync... (/showthread.php?tid=658672)



Actors are not sync... - DIRTYBYT3 - 09.09.2018

Hello everyone, I have read several topics about actors and in some issues they try to make them walk. Many answer that it is not possible since they are only for fixed places and that they could not be synchronized with the player-server ... could you explain this last?
I have been able to make them walk but only in a sense since setactorfacingangle seems to be bug and I can not make it rotate to walk in another direction. If someone else is interested in the actors let me know.


Re: Actores no estan sincronizados - Undef1ned - 09.09.2018

Do not touch if 24 hours have not passed.


Re: Actores no estan sincronizados - DIRTYBYT3 - 10.09.2018

Quote:
Originally Posted by Undef1ned
Посмотреть сообщение
Do not touch if 24 hours have not passed.
Sorry who are you??


Re: Actores no estan sincronizados - Undef1ned - 11.09.2018

The actors are designed to be immobile ...

Please, take a look at this thread.

https://sampforum.blast.hk/showthread.php?tid=428066


Re: Actores no estan sincronizados - Undef1ned - 25.09.2018

The only thing you are doing is moving the position of the actor every so often.


Re: Actores no estan sincronizados - DIRTYBYT3 - 25.09.2018

Quote:
Originally Posted by Undef1ned
Посмотреть сообщение
The only thing you are doing is moving the position of the actor every so often.
You are wrong friend, the function is well and checked performs the animation of walking and moves the actor at a constant speed and according to walking.
There are not so many lines to check and disengage. This way if the actors can walk.


Re: Actores no estan sincronizados - Dayrion - 25.09.2018

Definitely not, actors aren't made to move.
All what you are doing is just applying an animation to simulate a movement, but the actor won't move until you set new positions. So no, actors can't move. You just manually move them.NPC, like players, can move naturally without applying any animation nor timer like you.


Re: Actores no estan sincronizados - DIRTYBYT3 - 25.09.2018

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
Definitely not, actors aren't made to move.
All what you are doing is just applying an animation to simulate a movement, but the actor won't move until you set new positions. So no, actors can't move. You just manually move them.NPC, like players, can move naturally without applying any animation nor timer like you.
ok the timer is used to move the actor constantly. obviously the walking animation is an aggregate but it works. I understand that they have not tried it and that the actors are "static". I only share it so that they know that it is possible to simulate the walk of an actor.


Re: Actors are not sync... - Dayrion - 26.09.2018

Quote:
Originally Posted by DIRTYBYT3
Посмотреть сообщение
I have been able to make them walk but only in a sense since setactorfacingangle seems to be bug and I can not make it rotate to walk in another direction.
Also, that's a known bug. You need to resynch actor with players to set the new actor's facing angle. This bug only occurs with static actors. Streamer (with dynamic actors) and actor_plus fix this bug.


Re: Actors are not sync... - DIRTYBYT3 - 27.09.2018

if now the functions are bugs .I'm sure someone served this. see you online


Re: Actors are not sync... - DIRTYBYT3 - 28.10.2018

Quote:
Originally Posted by DIRTYBYT3
Посмотреть сообщение
if now the functions are bugs .I'm sure someone served this. see you online
What abaout this...

http://youtube.com/watch?v=ijxh_v1QTR0


Re: Actors are not sync... - Dayrion - 28.10.2018

Quote:
Originally Posted by DIRTYBYT3
Посмотреть сообщение
What abaout this...

y outube.com/watch?v=ijxh_v1QTR0
They are just NPC.


Re: Actors are not sync... - DIRTYBYT3 - 29.10.2018

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
They are just NPC.
Haha what are you say?? They are actors ! Created and moving for my code... whats is the problem with them walking? Tell me.