samp-streamer-plugin
samp-streamer-plugin copied to clipboard
How can i get actor position when they are moved!
I try to AI using actor not NPC!
because NPC has may many using resource so, finally i found actor
even though actor move using actor anim, they position are static not changing.
i used to but only GetActorPos but also GetDynamicActorPos, reseult are same as above.
how can i get actor position when they are moved using anim?
You can't, the actors need to be restreamed to apply the position. I've also tried to make a "AI" system, I've canceled the project because of that.
Animation don't change the position of actor internally because it's not handled like a player or npc.
Actors meant to be props, decorations so the world doesn't feel so empty.
Maby try to set their velocity via setplayetvelocity if possible dus changing their position while applying the animation... Theory.