Jump to content
Sign in to follow this  
lesjones

Sniper working alone

Recommended Posts

I'm playing around with a new SP mission that initiates action by a sniper dropping a couple of guards, which triggers the units to move in.

The question is, how do I make the sniper, who is not attached to a unit, open fire on specific targets from his concealed position? I've tried a "Destroy" WP, but the guy crawls over to the guards and shoots them point blank (usually getting iced himeself).

Share this post


Link to post
Share on other sites

Try the DoTarget command or DoFire

unit1 Dotarget unit2

or

unit1 DoFire unit2

Share this post


Link to post
Share on other sites

Well...I tried your suggestion, but my scripting must need work.

I tried Sniper1 DoTarget Resistance1 in the init of the sniper, and then again in a Move WP. The sniper would either fire one shot (and miss), or not do anything at all. I had the same result with DoFire.

I've managed a "work-around" by putting myself in place as the sniper, and then after drilling the guards I run as fast as I can to join the rest of the unit, drop the sniper rifle and pick up an AK from one of the dead guards. But that's not what i'm really after.

Share this post


Link to post
Share on other sites

Have you tried making him hold fire and then just fire at will when he's in position, that would probably give the effect, but it also means that you would have to script it so that the unit moves in if the sniper takes to long with dropping the enemies or if he is killed.

Share this post


Link to post
Share on other sites

Ahh...no. That's a thought though. I'll try it.

Right now I have the triggers set for things to happen when the guards (who I made "resistance") die, the trigger goes off when resistance not present. The rest of the garrison is made up of East soldiers and vehicles. I figured the ruskies would hire the resistance at minimum wage and let them be bullet bait. It's what I would do...

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  

×