Jump to content

omon

Member
  • Content Count

    130
  • Joined

  • Last visited

  • Medals

Posts posted by omon


  1. On 1/28/2017 at 0:20 PM, fn_Quiksilver said:

     

     

    There is no setBehaviour 'DANGER'; ... I believe it's setBehaviour 'COMBAT'; 

    https://community.bistudio.com/wiki/setBehaviour

     

    try also this function:

     

    https://community.bistudio.com/wiki/commandFire

    https://community.bistudio.com/wiki/assignedTarget

     

    if (!isNull (assignedTarget _this)) then {_this commandFire (assignedTarget _this);};

     

     

    That is for OFP for arma 3 its different 


  2. We have a strange problem with Remote AI.

    Remote AI will go into hold fire mode in mid games, mostly AI that's inside static weapons. They will have full ammo and they track the targets but don't fire.

    Currently we run a loop on them to open fire every 30 seconds, and i have also seen this dirty fix on other CTI servers like CRcti.

    Is that a known issue or something DEVs can take a look at?

     

    			//--- Update the gunner's properties every 60 seconds to fix them going into hold fire mode
    			_ai spawn {
    				while {alive _this} do {
    					_this setBehaviour "DANGER";
    					_this setCombatMode "YELLOW";
    					_this enableAttack true;
    					_this allowFleeing 0;
    					sleep 60;
    				};
    			};

     


  3. just use upstart 

     

    Simple and functional 

    # Arma 3 Server Instance
    
    description "Arma 3 Server Instance"
    author "Arma 3 Server Instance"
    
    # When to start the service
    start on stopped arma3update
    
    # When to stop the service
    stop on runlevel [016]
    
    # Specify working directory
    chdir /home/arma3server/steamcmd/arma3
    
    # Automatically restart process if crashed
    respawn limit 3 10
    
    # Specify the process/command to start
    
    script
    sleep 30
    exec sudo -u arma3server taskset 0,1,2,3 ./arma3server -name=Server -config=startup/server.cfg -exThreads=1 -enableHT
    
    end script
    
×