Home   Help Search Login Register  

Author Topic: End on destroy  (Read 771 times)

0 Members and 1 Guest are viewing this topic.

redmenace

  • Guest
End on destroy
« on: 24 Nov 2005, 00:23:22 »
I have a mission where I want the objective to be destroying a SCUD. How do I do this? I tried making an end 1 trigger synch'ed to the 'destroy' obj of the SCUD, but it didn't work.

jBrereton

  • Guest
Re:End on destroy
« Reply #1 on: 24 Nov 2005, 00:49:34 »
Call the Scud "Scud1" or something (doesn't really matter)

Then, in a trigger, put the activation as (not(alive Scud1)). Scud1 is changed for whatever you want to call it, obviously.

The trigger then has a win trigger in it.

redmenace

  • Guest
Re:End on destroy
« Reply #2 on: 24 Nov 2005, 01:18:59 »
"Type Bool, expected nothing"

:o

Also, how can I set it to only complete an objective as opposed to completing the mission?
« Last Edit: 24 Nov 2005, 01:29:13 by redmenace »

Offline Pilot

  • Contributing Member
  • **
Re:End on destroy
« Reply #3 on: 24 Nov 2005, 03:04:04 »
not alive Scud1 should be put in the condition field, not the On Activation field ;)

For the objective, put the following in the On Activation field:

"1" setobjstatus "DONE"

Assuming, of course, that you want to complete the first objective.

-Pilot

redmenace

  • Guest
Re:End on destroy
« Reply #4 on: 24 Nov 2005, 03:09:14 »
thanks :D

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:End on destroy
« Reply #5 on: 25 Nov 2005, 22:48:58 »
Read snYpir's tutorials on "Briefing.html" and "How to use objectives and init.sqs".   Both in the Editors Depot.

While you're at it, read all the other tutes in the Getting STarted section too.    ;)
Plenty of reviewed ArmA missions for you to play