OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Remton Dulyak on 19 Jul 2004, 12:38:55
-
Hi everybody, I got a problem...
I'm trying to write a mission in which the player has to move to the airport in Nogova and destroy some empty Russian Units positioned near the airstrip.
I need the mission to end when all the units have been neutralyzed, but I don't know how to do, 'cause the trigger doesen't have an "activated by Empty" value.
How can I solve this problem, other then putting East Air units w/out fuel (so they remain where they should), that do not respond to fire?
Thanks
-
If you would accept for the aircraft to be destroyed use this for your trigger:
type: End #1 or 2 or 3 or whatever
text: endWIN (right?)
Condition: not (alive jet1) you may add as many different jets' variable names as you need.
I did not exactly get what u were tryin to do but mebbe this helped?
You also mentioned puttin the fuel bar to empty, and i suppose you want AI units inside the jets? Then put this in the init line of the unit: dostop this
And then you mentioned the vehicles being empty? Does this mean you want the vehicles to stop, and the unit, not the vehicle, destroyed/killed?
Then i thought i saw this somewheres: not (alive jet1D)
Is dat right? Just guessin on that one so you may wanna get a second opinion.
-
Sorry, I kinda wrote it too fast, so I for myself didn't put it quite right...
These planes and choppers ARE "empty" side (I don't want people inside, they're there like they are ready to get used)
The final objective for the player is to destroy them all.
I'm goin' to try the not alive stuff...
thanks...