Home   Help Search Login Register  

Author Topic: Destroying Objects  (Read 1511 times)

0 Members and 2 Guests are viewing this topic.

Dog40Acoy

  • Guest
Destroying Objects
« on: 21 Jul 2006, 16:31:59 »
Ok I am sure this is fairly simple-

I want to destroy a fuel station as part of the mission objectives.

Say for example the ID number is 124034 of the fuel station. How do I make a script via a trigger that when the fuel station is destroyed it checks off the objective. I know all the eg "3" ObjStatus "DONE" bit, but have drawn a complete blank on how to trigger that when fuel station 124034 is destroyed.

TY in advance

Offline Seven

  • Members
  • *
  • Am I a llama?
Re: Destroying Objects
« Reply #1 on: 21 Jul 2006, 20:19:19 »
condition: getdammage (object 124034) >= 1;  probably  :)

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re: Destroying Objects
« Reply #2 on: 22 Jul 2006, 00:34:08 »
Either
Code: [Select]
getdammage (object 124034) >= 1 as posted above or

Code: [Select]
! alive (object 124034)

Dog40Acoy

  • Guest
Re: Destroying Objects
« Reply #3 on: 25 Jul 2006, 10:45:04 »
Excellent thanks fellas

It works a treat.