MechaStalin
Jun 3 2009, 08:54
Is it possible to have a script or trigger running that once you had completed a certain amount of SOM missions, say 5, it ended the mission?
Is it possible to have a script or trigger running that once you had completed a certain amount of SOM missions, say 5, it ended the mission?
Yes :)
The SecOps template (04: Combat) uses this concept. The SOM tracks completed / failed SecOps in an internal variable history (Array: Scalar | completed, Scalar | failed).
So let's say your SOM is myFirstSOM, you can make your trigger check for:
((myFirstSOM getVariable "history") select 0) == 5
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.