Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Time Limit

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> DW Mission Designers' Forum
View previous topic :: View next topic  
Author Message
Kirk



Joined: 28 Jan 2005
Posts: 71
Location: Pennsylvania

PostPosted: Sun Feb 19, 2006 9:34 am    Post subject: Time Limit Reply with quote

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
View user's profile Send private message
Bill Nichols



Joined: 14 Mar 2001
Posts: 2657

PostPosted: Sun Feb 19, 2006 1:11 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Kirk



Joined: 28 Jan 2005
Posts: 71
Location: Pennsylvania

PostPosted: Sun Feb 19, 2006 1:53 pm    Post subject: Reply with quote

Thank you for your help.
Back to top
View user's profile Send private message
Werewolf13



Joined: 20 Feb 2006
Posts: 25
Location: The HEART of Fly Over Country

PostPosted: Mon Feb 20, 2006 10:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> DW Mission Designers' Forum All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group