samp-streamer-plugin icon indicating copy to clipboard operation
samp-streamer-plugin copied to clipboard

How can i get actor position when they are moved!

Open Nell69Rock opened this issue 3 years ago • 2 comments

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?

Nell69Rock avatar Sep 06 '21 14:09 Nell69Rock

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.

Nickk888SAMP avatar Sep 08 '21 13:09 Nickk888SAMP

Maby try to set their velocity via setplayetvelocity if possible dus changing their position while applying the animation... Theory.

Hauswart avatar Nov 15 '21 21:11 Hauswart