View previous topic :: View next topic |
Author |
Message |
Kirk
Joined: 28 Jan 2005 Posts: 71 Location: Pennsylvania
|
Posted: Sun Feb 19, 2006 9:34 am Post subject: Time Limit |
|
|
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. |
|
Back to top |
|
|
Bill Nichols
Joined: 14 Mar 2001 Posts: 2657
|
Posted: Sun Feb 19, 2006 1:11 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
Kirk
Joined: 28 Jan 2005 Posts: 71 Location: Pennsylvania
|
Posted: Sun Feb 19, 2006 1:53 pm Post subject: |
|
|
Thank you for your help. |
|
Back to top |
|
|
Werewolf13
Joined: 20 Feb 2006 Posts: 25 Location: The HEART of Fly Over Country
|
Posted: Mon Feb 20, 2006 10:39 am Post subject: |
|
|
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. |
|
Back to top |
|
|
|