Home   Help Search Login Register  

Author Topic: after a few seconds of damage, chopper vanishes  (Read 452 times)

0 Members and 1 Guest are viewing this topic.

BronzeEagle

  • Guest
after a few seconds of damage, chopper vanishes
« on: 11 Jan 2005, 18:28:52 »
I need to create a trigger where once the chopper is damaged, then it activates the trigger and after a few seconds the chopper is deleted.  I just need to know if deleteobject will work on a chopper with people in it.  I know the script will go something like chopper present and then for the condition it'll be:   GetDammage MyChopper > .1

then on activation:  I need something that will delete the object after a few seconds.  

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:after a few seconds of damage, chopper vanishes
« Reply #1 on: 11 Jan 2005, 18:55:34 »
Use the timeout field:  put whatever value you want in all three boxes, or vary the numbers if you want a random element.    Fuller details in any good trigger tutorial.

On Activation:   deleteVehicle myChopper

You may need to delete the crew explicitly.    deleteVehicle myChopperD or deleteVehicle driver/commander/gunner myChopper.
Plenty of reviewed ArmA missions for you to play

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:after a few seconds of damage, chopper vanishes
« Reply #2 on: 11 Jan 2005, 22:09:40 »
or "deletevehicle _x" foreach crew mychopper