PDA

View Full Version : Time Limit


Kirk
02-19-06, 09:34 AM
Anyone know how to set a time limit? I see time start, time end and duration options but is that what is on the clock below or what. All I want to do is to say if in one hour if you did not complete the mission, it is a failure. Any ideas? Thanks.

Bill Nichols
02-19-06, 01:11 PM
Let's say the mission start time is 0600. Create a trigger and give it a start time of 00:07:00 (first day, 0700 hours) and an end time anything later (01:00:00, for example). Call the trigger "Time Out" or anything like that. You can now create other triggers that fire with the "Time Out" trigger fires, using the Doctrine option. For example, you can have a trigger named "Mission Fails" that has doctrine something like:

"IF trigger fired TIME OUT AND
NOT trigger fired GOAL COMPLETE then"

and give the player a message that he has failed the mission.

Kirk
02-19-06, 01:53 PM
Thank you for your help.

Werewolf13
02-20-06, 10:39 AM
There's an easier way.

Just create a generic trigger and make it an event trigger that applies to all. Don't attach it to anything and place it off in the boonies somewhere. Set duration to the number of hours you want the time limit to be. Remember that the duration format is hh:mm:ss not dd:hh:mm.

Have the trigger run a script that ends the mission.

You can make the script as simple as just having the endmission action or make it do what ever else you want and just make the endmission action last.