Home   Help Search Login Register  

Author Topic: Targets destroyed  (Read 619 times)

0 Members and 1 Guest are viewing this topic.

Oskar

  • Guest
Targets destroyed
« on: 30 Jan 2004, 20:40:27 »
Well, ive forgot how to do this mainly because i stopped playing OFP a while back ago. Now i need help, when the 2 targets are destroyed. An fuel truck (fuel) and an BMP2 (bmp), i want an text to appear saying that the targets is destroyed. I tried doing something like this, its how i remember doing it.

!alive fuel AND !alive bmp

but its not working  :-\
Any help Apprecieted. Thanks

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Targets destroyed
« Reply #1 on: 30 Jan 2004, 20:45:07 »
 ???

That should work...

Try it like this (in a trigger of course):
Condition: !(alive fuel) && !(alive bmp)
On Act.: hint "wuhii!!!"

BTW: that && and AND are the same thing...

Oh, and don't use names like fuel since it's a command... Use something else like myFuel and myBMP or something...
« Last Edit: 30 Jan 2004, 20:46:26 by HateR_Kint »
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Oskar

  • Guest
Re:Targets destroyed
« Reply #2 on: 30 Jan 2004, 21:15:28 »
Ok, thanks. I'll try it

deaddog

  • Guest
Re:Targets destroyed
« Reply #3 on: 30 Jan 2004, 22:02:09 »
You have to watch out when using "alive" with vehicles.  Sometimes it appears they are not "alive" but they haven't been truly destroyed yet (their dammage is <1).

This is a common problem on maps that us a "not present" trigger.  Everyone can be killed but one tank can be still alive although it looks dead and no one is in it.  You have to shoot it again to finish it off.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Targets destroyed
« Reply #4 on: 30 Jan 2004, 23:02:26 »
Yeah, "alive" doesn't really work with vehicles.  I always use

(not canMove BMP1) and (not canFire BMP1)
Plenty of reviewed ArmA missions for you to play