Jump to content
Sign in to follow this  
PreedSwe

Is it possible to fire a vehicle weapon or static weapon remotely?

Recommended Posts

Hi

Im wondering if it is possible through scripting to fire a vehicle weapon blind(straight ahead) without having a target. With or without a gunner.

All the functions I have seen(fire, dofire, useweapon etc) all require targets.

The idea is to be able to use some kind of suppressive fire, or have AI wingmates do a strafe run by basically firing at the position the squad leader is shooting at.. Either by ordering the AI to fire blind, or an eventhandler that fires the wingmate planes weapons when the squad leader fires..

Share this post


Link to post
Share on other sites

A really jerry-rigged way of doing this may be to use createVehicle with ammo and set the direction with some sort of mouse button down event handler. I've done it with rockets before.

Share this post


Link to post
Share on other sites

Hmm, well that might work.. Not sure how to do the eventhandler though, can't you only use mousebuttondown, keydown etc events on display eventhandlers/ctrl eventhandlers?

Also, might get laggy if I want to imitate firing a Gsh-301 or something else with a high rof..

Share this post


Link to post
Share on other sites

in ofp you could put a logic in the vehicle and dofire would work ,

also in Arma2 there is an invisible man :)

Share this post


Link to post
Share on other sites

laser targets are good "invisible" targets too. they can even be locked on to.

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  

×