Forum Jump :

Author Message


Posts: 31
Rank:


Level: Member

Country: be
Location: Flanders
Occupation: student
Age:
In-game name:

 
#191492 Posted at 2016-09-01 07:56        
     
# Pierre MGI :
0 = this spawn {
  while {alive _this} do {
  _this removeMagazines (currentMagazine _this);
  _this setAmmo [primaryWeapon _this, 1];
  sleep 3;
  _this doTarget cible;
  _this doFire cible;
  sleep 7
  }
}

Unfortunately none of the ai shoot at anything with this code. They do only have 1 mag in their gun, so that part works :)

If you're going through hell,
keep going! -W. Churchill