Jump to content
Sign in to follow this  
rejenorst

Getting a unit to fire 1 shot at another units. Pistol.

Recommended Posts

I did a quick search but I am sure this has been asked before,

basically I have a unit and I want him to target another unit with a pistol and fire 1 shot and 1 shot only.

My only problem is I can't get him to fire a single shot. The fire command causes the unit to fire in the air. Has anyone got a quick fix for this preferably for sqs?

Thanks.

Share this post


Link to post
Share on other sites

I suppose it depends on the units, are yours both friendly units?

Anyway, the reason I'm posting is because I had a captive within an opfor base with a combination of scripts to make sure that he didn't move and that his hands were behind his head. There was a guard cycling waypoints immediately infront of him.

If I set soldier1 doFire soldier2 it wouldn't work, I tried doTarget, too. That didn't work either.

So captive sets them to be untargetable and so on. However, I gave the unit a glanceAt command and on the trigger he would kill the captive.

Interesting...I suppose you could incorporate this?

Be interesting how to go about this, but it could be a trigger to tell your unit to glanceAt the other unit?

Share this post


Link to post
Share on other sites

Hi Touch Off,

I use glanceat and lookat as well but as a added precaution for captive units I found that if I set their rating to -10000 the enemy would have no problems firing at the unit.

ie: unit addrating -10000

the problem however is I don't want the unit to empty his entire clip into the unit but rather just 1 bullet. :(

Anyone know how to do / simulate this?

Share this post


Link to post
Share on other sites

Maybe if the damage of the unit is >0.1 do a stop fire command for the shooter? But then again you can still die from 1 pistol round so...

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  

×