Ok so have been trying to wrap my head around this for the past week and am getting nowhere.
Basically i have an addaction that is activated when you are next to a target (in this case its a fellow player) which then calls a particular script when selected by the player. This script runs through a list of circumsances that determine whether or not to do a specific type of animation (so if the player is crouched it does ....; if they are prone .... etc etc ------- and then checks to see whether the other player is prone, crouched etc). Continues on to choose the animation and then executes the relevent animation on the player and the target player.
Now it all works fantastic in Single Player. Moving into a multiplayer enviroment is the issue. Everything works fine from a client point of view but of course the animations are not sent serverside so in comes the part i cannot get to work - BIS_fnc_MP.......
original working code:
then {
player switchMove _unitActionName;
_target switchMove _targetActionName;
sleep _unitAdditionalDelay;
detach _target;
}
Now I've looked all over the past week and tried so many different versions/methods that havent worked for me so Ill just so the latest version i was trying:
then {
[[player,"_unitActionName"],"switchMove",true,true,true] call BIS_fnc_MP;
[[_target,"_targetActionName"],"switchMove",true,true,true] call BIS_fnc_MP;
sleep _unitAdditionalDelay;
detach _target;
}
Result gives nothing. I've tried Killzone Kids example in the BI BIS_fnc_MP examples and other methods :(
can anyone lend me a hand?
Cheers from downunder!