Results 1 to 3 of 3

Thread: Katjusha random fire mission

  1. #1

    Katjusha random fire mission

    A simple code snippet (provided by moerderhoschi ) to make BM-13 fire a salvo of missiles into some direction.
    Great for usage in intros, screenshots, or simply for ambience in your mission.

    Code:
    0 = [] spawn {sleep 1;grad1 dowatch [(getpos grad1 select 0) + 500,(getpos grad1 select 1)+500,500];sleep 3;for [{_x=1},{_x<10},{sleep 1;_x=_x+1}] do {grad1 fire currentweapon grad1}};
    Copy code to a triggers onActivation field.
    grad1 is the name of the vehicle you wanna see firing (works with any kind of vehicle, not only mlrs)

    Since it was originally intended for use with BM-21 it´ll try to fire 10 times, BM-13 doesn´t need that as it fires all rockets in one salvo.
    If you are more confident with this stuff, you can remove the 10x firing sequence by messing with the _x<10 part. Honestly i don´t care as it still works w/o errors.

    REALISM! No, fuck that, FIRE THE LASER!

  2. #2

  3. #3

Similar Threads

  1. Getting AI to fire random bursts?
    By Opticalsnare in forum ARMA 2 & OA : ADDONS - Configs & Scripting
    Replies: 0
    Last Post: May 4 2011, 18:02
  2. Supereasy random artillery fire script
    By Igneous01 in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 12
    Last Post: Dec 28 2010, 15:24
  3. Random fire?
    By Dignity in forum ARMA 2 & OA - GENERAL
    Replies: 3
    Last Post: Jun 27 2009, 04:26
  4. Making AI fire on random targets
    By Obscure CIA_Agent in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 9
    Last Post: Aug 7 2006, 09:15
  5. Random mortar fire
    By Junker in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 2
    Last Post: Dec 29 2003, 22:30

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •