I'm testing a script that lets you detain other players, and it also has an option for escorting them. Basically it puts the target into a standing tied animation and it attaches it in front of you.
Everything works, except for releasing them. All other parts of the script work (removal of walk limitation etc) but sometimes the target stays attached to you
Question
Schultz
Hello,
I'm testing a script that lets you detain other players, and it also has an option for escorting them. Basically it puts the target into a standing tied animation and it attaches it in front of you.
Everything works, except for releasing them. All other parts of the script work (removal of walk limitation etc) but sometimes the target stays attached to you
This is the code for the stop_escort.sqf
I am really banging my head against this, but maybe another fresh point of view will help me!
The problem is that my cursor is slightly to the right of the guy who's attached to me, hence if I don't manually aim it's not gonna be detached.
Is there a way to define instead of cursorTarget something like the closest player to me?
Any ideas?
Link to comment
Share on other sites
29 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now