Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

peacefull Nation

Member
  • Content Count

    54
  • Joined

  • Last visited

  • Medals

Everything posted by peacefull Nation

  1. peacefull Nation

    command to show all ai on map

    { if(!isPlayer _x && side _x != playerSide) then { player reveal _x } }forEach allUnits; this code only reveals small portion of the map then goes away , i want it to reveal all the map
  2. peacefull Nation

    make all ai do karate code help

    Karate_loop = {{if(!isPlayer _x && side _x != playerSide) then { _x playMove "AmovPercMstpSnonWnonDnon_exerciseKata" }}forEach allUnits;}; {_x call Karate_loop} foreach allunits working , nice thanks alot , i thank all who taken the time to reply working now thanks so much
  3. peacefull Nation

    make all ai do karate code help

    am running thse code of nss console and not directly into files yet so that i veryify the code works before i start to add them in sqf files. [] spawn { while{true} do { { if(!isPlayer _x && side _x != playerSide && _x animationState != "AmovPercMstpSnonWnonDnon_exerciseKata") then { _x playMove "AmovPercMstpSnonWnonDnon_exerciseKata"; }; } forEach allUnits; sleep 1; }; }; this code dont work , no error , no effect is taken soldiers are not doing karate. if i execute this code it work but animation is only 1 time and i have to click , i want it to loop , so i tried your code but its not doing anything. if(!isPlayer _x && side _x != playerSide && _x animationState != "AmovPercMstpSnonWnonDnon_exerciseKata") then { _x playMove "AmovPercMstpSnonWnonDnon_exerciseKata"; }; } forEach allUnits;
  4. peacefull Nation

    make all ai do karate code help

    not working sir
  5. peacefull Nation

    make all ai do karate code help

    i should have posted this but thanks. this code {if(!isPlayer _x && side _x != playerSide) then { _x playMove "AmovPercMstpSnonWnonDnon_exerciseKata" } }forEach allUnits; only does it once not looping boss. once its finished i want it to start again
×