BIS_fnc_effectFiredRocket is broken on Harrier rockets (and possibly others)
Needs Review, Needs TriagePublic


BIS_fnc_effectFiredRocket is broken for the AV-8B Harrier II's Hydras, the Harrier GR. 9's FFARs, and potentially other weapons that use it. Whenever firing the Hydras or FFARs, anyone on the server with script errors enabled will see the message in the included screenshot.

In the context of the community I play with, this makes the these rockets unusable. I'd greatly appreciate it if this were fixed, thanks in advance.

I brought this up with BIS first (, but they tested all of their vanilla assets and could not reproduce (and neither could I). They say it is a mod issue, hence this ticket.

Here is the error from the .rpt file:

19:20:22 Error in expression <0 + random 7;
while {_i<_no} do
drop [["\A3\data_f\ParticleEffects\Unive>
19:20:22   Error position: <drop [["\A3\data_f\ParticleEffects\Unive>
19:20:22   Error Generic error in expression
19:20:22 File A3\functions_f\Effects\fn_effectFiredRocket.sqf [BIS_fnc_effectFiredRocket], line 34


Affected classnames
Steinhauer updated the task description. (Show Details)Wed, Jan 3, 2:08 AM


	private_vec = vectordir _sh;
	private_no= 20 + random 7;

Note, no space between the private and the var name, so the script errors out.
Broken on 1.80 and dev. IMHO, there is nothing for cup to do except wait for it to be fixed by BIS

A friend more knowledgeable than I came to the same conclusion a couple hours ago. He added the info to my BIS ticket, hopefully they recognize their part this time.