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.
Copy code to a triggers onActivation field.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}};
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.
HOME
) to make BM-13 fire a salvo of missiles into some direction.
Reply With Quote

