OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: SpecterM on 21 Jul 2009, 20:26:46

Title: Time limit
Post by: SpecterM on 21 Jul 2009, 20:26:46
Hi, I would like my mission to end after a specified amount of time.  I found this info to add to the xmt

Code: [Select]
titleParam1 = "Time limit:";
valuesParam1[] = {10000, 300, 600, 900, 1200, 1500, 1800, 2100, 3600, 7200};
defValueParam1 = 1800;
textsParam1[] = {"Unlimited", "5 min", "10 min", "15 min", "20 min", "25 min",
"30 min", "35 min", "60 min", "120 min", };

Problem is... the mission doesn't end.

I added this trigger but it still doesnt work.
(http://i830.photobucket.com/albums/zz223/SpecterM/th_endmissiontrigger.jpg) (http://s830.photobucket.com/albums/zz223/SpecterM/?action=view&current=endmissiontrigger.jpg)

Can someone help me?  My skill level is NOOB.
Title: Re: Time limit
Post by: nominesine on 22 Jul 2009, 13:25:37
 :welcome:
Welcome to the Ofpec forums. You trigger should be working,judging from a quick glance at the attached photo. But this is not an END-trigger, and since the activation field sets the variable EndOfMission to true, I aasume that there's a second trigger involved. The second one should be set to type: END and its condition field shoulr read: EndOfMission