Home   Help Search Login Register  

Author Topic: Not alive trigger  (Read 575 times)

0 Members and 1 Guest are viewing this topic.

pazuzu

  • Guest
Not alive trigger
« on: 16 Mar 2005, 06:47:33 »
Hi, I'm making an air map & I have a trigger set for first obj.

I have all the enemy planes named mig1 - 16.

They are east side planes with pilot already in them.

So for obj1 condition I have: ! (alive mig1) && ! (alive mig2) etc.  

My question is, does it matter if the pilot ejects from plane?

Will mig1 still show as alive if pilot ejected? or does it just have to be the plane itself that needs to be destroyed?

Would I be better off puting seperate pilots into empty migs?

If pilot needs to die too is it possible to remove their parachutes so they plummet to their deaths after plane is shot?

Thanks.

j-man

  • Guest
Re:Not alive trigger
« Reply #1 on: 16 Mar 2005, 07:38:58 »
I'm pretty sure "!alive mig1" would just check to see if the plane was destroyed. I think it wouldn't matter if the pilot ejected or not. If you wanted to check to see if the pilot was alive or not, you would use something like this:

Code: [Select]
!alive driver mig1
syntax not guaranteed

 ;)
« Last Edit: 16 Mar 2005, 07:39:24 by j-man »

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Not alive trigger
« Reply #2 on: 16 Mar 2005, 08:15:44 »
If  mig1 is the name of a plane then the pilot is

mig1D

driver mig1 will give you the same person only if he has not yet ejected.

mig1D is the guy who is or was piloting the plane even after he has ejected.

shadow99

  • Guest
Re:Not alive trigger
« Reply #3 on: 16 Mar 2005, 13:07:36 »
I've experimented with this before pazuzu, as I had the same question you did. I made a demo mission where I destroyed a vehicle and a trigger was activated when 'bmp' was destroyed.

'BMP' is destroyed when, well, the BMP is destroyed. The crew does not count toward the BMP being alive or dead. I'm sure the same could be said for your Migs.

pazuzu

  • Guest
Re:Not alive trigger
« Reply #4 on: 16 Mar 2005, 18:18:25 »
Ok thanks guys.

I should have just done that simple test to see if pilot needed to die too.

I wanted to ask again if its possible to remove parachute from unit?


Thanks fort the help.