SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Modern-Era Subsims > Dangerous Waters > DW Mod Workshop > DW Mission Designers' Forum
Forget password? Reset here

Reply
 
Thread Tools Search this Thread Display Modes
Old 02-19-06, 09:34 AM   #1
Kirk
Helmsman
 
Join Date: Jan 2005
Location: Pennsylvania
Posts: 102
Downloads: 2
Uploads: 0
Default 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.
__________________
-Kirk
Kirk is offline   Reply With Quote
Old 02-19-06, 01:11 PM   #2
Bill Nichols
Master of Defense
 
Join Date: Mar 2000
Posts: 1,502
Downloads: 125
Uploads: 0
Default

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.
__________________
My Dangerous Waters website:
Bill Nichols is offline   Reply With Quote
Old 02-19-06, 01:53 PM   #3
Kirk
Helmsman
 
Join Date: Jan 2005
Location: Pennsylvania
Posts: 102
Downloads: 2
Uploads: 0
Default

Thank you for your help.
__________________
-Kirk
Kirk is offline   Reply With Quote
Old 02-20-06, 10:39 AM   #4
Werewolf13
Torpedoman
 
Join Date: Feb 2006
Location: The HEART of Fly Over Country
Posts: 120
Downloads: 62
Uploads: 0
Default

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.
__________________
Peace is good...
Freedom is BETTER!
Werewolf13 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:00 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.