Jump to content

gordonfleaman

Member
  • Content Count

    1
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About gordonfleaman

  • Rank
    Newbie
  1. Hello, Trying to make it possible for two units to fight. In singleplayer preview it is possible, but for some reason in multiplayer no holdaction comes up for player1 or player2. In other instances, everyone seems to see holdactions even if their unit doesn't pass the conditionShow field but somebody else on the server does. What am I doing wrong? I'm certain it lies on conditionShow but I'm not sure. I'm still learning about local/global effects. in player1's init: [player1, "Punch", "", "", "(_this distance _target < 2) && !(isPlayer player1)", "true", {[player2, "AwopPercMstpSgthWnonDnon_throw"] remoteExec ["switchMove", 0];}, {}, { [player1,"01"]remoteExec["say3d"]; [player1, 0.7, "head", "falling"] call ace_medical_fnc_addDamageToUnit; }, { }, [], 0.2, 1000, false, false] call BIS_fnc_holdActionAdd; And over in player2's init: [player2, "Punch", "", "", "(_this distance _target < 2) && !(isPlayer player2)", "true", {[player1, "AwopPercMstpSgthWnonDnon_throw"] remoteExec ["switchMove", 0]}, {}, { [player2,"01"]remoteExec["say3d"]; [player2, 0.7, "head", "falling"] call ace_medical_fnc_addDamageToUnit; }, { }, [], 0.2, 1000, false, false] call BIS_fnc_holdActionAdd; I appreciate any and all help
×