Jump to content

mike123hh

Member
  • Content Count

    4
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About mike123hh

  • Rank
    Rookie
  1. mike123hh

    artillery barrage script

    thanks works perfectly 👍
  2. mike123hh

    artillery barrage script

    hi thanks for suggestion but still only fires once with the below (its a sochor gun so has more than 1 round) for "_i" from 1 to 10 do { _ammo = getArtilleryAmmo [art1] select 4; _dir = round random 360; _dis = 50 + round random 100; _tgt = s1 getRelPos [_dis,_dir]; art1 doArtilleryFire[_tgt,_ammo,1]; sleep 20}; it says that there is an generic expression error somewhere when i start playing
  3. im trying to write a script to tell my artillery gun "art1" to fire near the soldier "s1" 10 times using the below the gun only fires once it seems it gets stuck after one loop for "_i" from 1 to 10 do { _ammo = getArtilleryAmmo [art1] select 4; _dir = round random 360; _dis = 50 + round random 100; _tgt = s1 getRelPos [_dis,_dir]; art1 doArtilleryFire[_tgt,_ammo,1]};
  4. im trying to write a script to tell my artillery gun "art1" to fire near the soldier "s1" 10 times using the below the gun only fires once it seems it gets stuck after one loop for "_i" from 1 to 10 do { _ammo = getArtilleryAmmo [art1] select 4; _dir = round random 360; _dis = 50 + round random 100; _tgt = s1 getRelPos [_dis,_dir]; art1 doArtilleryFire[_tgt,_ammo,1]};
×