I am trying to write a code to make a torture action.
So far, it checks if target is a player and if so it does ..... blablabla>>>>
Thing is, idk how to make it do the effects on the target and not on the person which is executing the script.
Code example:
_aim = cursorTarget; if (isPlayer _aim)then { hint "test"; r_player_blood = r_player_blood - _torturebloodamount;r_player_inpain = true;r_fracture_arms = true; } else { hint "You need to aim at a player!";
This is not my actual 100% accurate code as I plan on making this a little custom thing on our server and share it to people who asks for it. If someone knows how to do this let me know!
Or if a script that does this is already out I would like to know :)