Can Actor React To Client's Behaviour?
#1

Can an actor respond to client? for example.. in a shop / interior.. or anywhere in this holy world..someone aims at an actor and he/she reacts..puts hand up...and when a bullet is shot else where actor crouch..


there can be many cases id like to correspond both user and actor...can be boost for rps etc and imagination is unlimited.
thanks.
Reply
#2

Yes, https://sampwiki.blast.hk/wiki/GetPlayerTargetActor.
I'm not sure about the bullet thing though.
Reply
#3

I think that it can apply the animation (check Emmet's extended Actors functions as it may help you).
But remember Actors can hardly replace NPCs (that's why NPCs were kept though)
Reply
#4

Thanks mate... i got evil ideas and holidays ahead you know :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)