OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: punisher on 15 Jul 2011, 15:03:22

Title: When wood targets down mission complete
Post by: punisher on 15 Jul 2011, 15:03:22
On part of a marksman test mission i have the basic targets that go down when hit. When all 8 go down i want the mission to end.
I tryed a thing that worked in ofp: Not alive t and not alive tt.....etc mission end but had no luck, any ideas?
Title: Re: When wood targets down mission complete
Post by: F2kSel on 15 Jul 2011, 22:17:22
If used in a trigger cond then this will work.


popup targets
Code: [Select]
targetname animationPhase "terc" > 0.1

wooden target
Sorry I missed the wooden part.

!alive tankname   in  a trigger condition works.
Title: Re: When wood targets down mission complete
Post by: punisher on 16 Jul 2011, 15:09:14
thanks that does work for one target, but for all 8 it doesnt seem to...
I tried "!alive t and !alive tt" etc but it just doesnt end
Also !alive t; !alive tt but got an error for this
Title: Re: When wood targets down mission complete
Post by: F2kSel on 16 Jul 2011, 15:41:22
I see your checking multiple targets.

!alive t and  !alive tt  ect for as many as you have it works for me and will end the mission,

 
Title: Re: When wood targets down mission complete
Post by: punisher on 16 Jul 2011, 19:04:01
ok works now, seemed having "TT" has one of the names messed it up so just changed it :)