I’d like to first thank Luca for rather generous donation! Thanks man, really appreciated!
I gonna show a little trick today on how to force ragdoll effect on a player. Unfortunately, for various reasons, we might never see a dedicated command for ragdoll in Arma 3, fortunately the effect can be triggered with a little script:
In order to trigger ragdoll, player needs to collide with something. Exiting a vehicle while it is moving can have similar effect, however it is not compact enough. Instead player can be hit by an object of smaller size, but greater mass. So I used soda can for it:
It is necessary to disable damage on the player during impact, or the player can simply get killed. Also, I have added an event handler that would resync player position after ragdoll is finished, just to be on safe side. One thing though, the function doesn’t take any argument, because it meant to work on players only and local players at that. It is also not supposed to be used on players in vehicles. Not ideal, but this is better than nothing at all.