Jump to content
Sign in to follow this  
A-SUICIDAL

East hold fire during chopper extraction?

Recommended Posts

I made a single player mission that is basically just dog-fighting. If the player ejects they can then radio for a chopper extraction that takes them back to base. The problem is the chopper always gets shot down. lol.

Is there a a simple way to script things so that only during the chopper extraction - that the entire east side holds fire until the player is dropped off back at base? Then maybe I could just turn it on and off during and after the extraction using:

east_hold_fire = true;

east_hold_fire = false;

Share this post


Link to post
Share on other sites

I know the simple, time-consuming way to do it.

Take the leader of every group with AA weapons and name it in the init field:

threat1 = group this

Give the chopper a waypoint that will be reached as it enters the dangerous area. In the OnAct of the waypoint put:

threat1 setcombatmode "blue"; threat2 setcombatmode "blue";

Then in the Transport Unload waypoint put:

threat1 setcombatmode "green";

Or you could just be sneaky and make the chopper have an Independent pilot.

Share this post


Link to post
Share on other sites

just make the heli captive:

heliname [url="http://community.bistudio.com/wiki/setCaptive"]setCaptive[/url] true;

set it to false and enemys will shot at it again.

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  

×