Jump to content
Sign in to follow this  
theone

Adding Tear Gas or Smoke Granades to mounted GL

Recommended Posts

Hi everyone,

i tried to add smoke or cs gas ammo to a dingo.

I tried addweapon, addmagazine, but it doesn´t work (only with HE).

So I decided to add an EventHandler type "Fired" to the vehicle to create gas at the target (removing projectile etc).

It works with Smoke but not for gas.

"ACE_M7A3" createVehicle pos create a gas grenade and it seems to work but the gas has no effect on the player -.-

Please help (or maybe there´s a easier way to add tear gas/smoke to a mounted GL?)

Greetz

theone

BTW: Do you know if you can use IR Strobes in ACE for targeting as well?

---------- Post added at 21:07 ---------- Previous post was at 19:11 ----------

Ok I finished my script...

My only problem is that the ace tear gas doesnt have any affect if used with createVehicle....

Any solutions?

My script:

Vehicle init:

this addEventHandler ["Fired", {[_this select 6]execVM "gl.sqf"}]

gl.sqf

_p=_this select 0;

waitUntil {(getPosATL _p select 2)<0.25 or (count nearestObjects [position _p,[],1])>1};

deleteVehicle _p;

test="ACE_M7A3" createVehicle position _p;

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×