Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
End on destroy
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: End on destroy (Read 774 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.
Logged
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.
Logged
redmenace
Guest
Re:End on destroy
«
Reply #2 on:
24 Nov 2005, 01:18:59 »
"Type Bool, expected nothing"
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
»
Logged
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
Logged
redmenace
Guest
Re:End on destroy
«
Reply #4 on:
24 Nov 2005, 03:09:14 »
thanks
Logged
macguba
Former Staff
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.
Logged
Plenty of
reviewed ArmA missions
for you to play
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
End on destroy
Top of page