Jump to content
Sign in to follow this  
Walker001

Force player to the ground.

Recommended Posts

Is there a way to force a player to go prone? I have tried with command _unit setunitpos "down" but this apparently only affects AI.

Cheers

Share this post


Link to post
Share on other sites

You want to force another human controlled player on a server to go prone?

Threaten to shoot them if they don't?

Or shoot them on the foot to make them crawl for real.

Share this post


Link to post
Share on other sites

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player playMove move

Where move is a string containing any one of these moves that contain "Ppne".

Here are the typical idle prone moves:

"AidlPpneMstpSnonWnonDnon01" - For unarmed prone stance

"AidlPpneMstpSrasWpstDnon01" - For pistol prone stance

"AidlPpneMstpSrasWrflDnon01" - For rifle prone stance

It won't keep them down but will force them to go prone at least until they switch stances manually. If you are trying force players to stay prone while retaining their ability to move, that's much more difficult and not very easy to pull off with scripting alone.

Share this post


Link to post
Share on other sites

Look into the norrin's revive script, the rPrn.sqf script does what you need.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×