Jump to content
Sign in to follow this  
WaldoDude

kill the pilot of a chopper

Recommended Posts

hi is there a way to kill the pilot of a chopper? im trying to get the chopper to spiral out of control with its tail rotor damaged, but every single time the chopper spirals for a bit before the pilot manages to land it safely... anyway to fix it? im thinking to somehow kill the pilot when it happens with a cmd would do the trick?

Share this post


Link to post
Share on other sites
hi is there a way to kill the pilot of a chopper? im trying to get the chopper to spiral out of control with its tail rotor damaged, but every single time the chopper spirals for a bit before the pilot manages to land it safely... anyway to fix it? im thinking to somehow kill the pilot when it happens with a cmd would do the trick?

Yep.

1º - Create a empty chopper and named it "chopper"

2º - Create a pilot and named it "pilot"

Init: this moveindriver chopper;

3º - Create a trigger Activation can be by detected or Radio Alpha

On Act: pilot setdamage 1;

Now you can activate you trigger pressing radio alpha or make something walk to the trigger for detection!

Edited by Infernal

Share this post


Link to post
Share on other sites

Now you can activate you trigger pressing radio alpha or make something walk to the trigger for detection!

That sounds simple enough (thank god!) but how could you create smoke and/or fire from the chopper as it is going down?

Share this post


Link to post
Share on other sites

You could setDamage the chopper to a certain amount. Idk, if setDamage (without killing) will actually make a vehicle smoke or not. You could setDamage 100% if a moderate amount of setDamage value doesn't do the trick. This will destroy the vehicle entirely, but I promise some smoke ;)

Share this post


Link to post
Share on other sites

Also FYI, if you place a crewed vehicle in the editor, you can reference its driver/pilot by simply adding a 'D' to the end of the vehicle's name (D for driver). So if you have named a black hawk 'BH1' then its pilot will be called 'BH1D'. Same principle for the gunner (BH1G).

Alternatively, to name the pilot to whatever you want, you can put something like this in the vehicle's init line:

BHpilot = driver this.

Share this post


Link to post
Share on other sites
That sounds simple enough (thank god!) but how could you create smoke and/or fire from the chopper as it is going down?

I've been testing this for a bit, and using setDamage 0.7 seems to do the trick. If you don't want the chopper to survive, ofcourse.

This creates heavy smoke from the vehicle, but does not damage the rotors.

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  

×