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
Forget password? Reset here

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 05-26-08, 03:50 PM   #2
GrayOwl
Soundman
 
Join Date: Sep 2004
Location: Compartment № 5 /Silos/
Posts: 149
Downloads: 0
Uploads: 0
Quote:
Originally Posted by Hawk66
Have anybody of you guys worked with the 'While' statement, which seems part of the Doctrine language?

I used it in a tactic doctrine that way:

While ( counter ) {
DebugOut "Test"
;do sth with the counter here...
}

but hasn't worked.

Since the whole doctrine script is embedded in a big 'for loop' there are workarounds but sometimes such a statement would be handy.
For example if you create two random numbers and both are dependent to each other.
Check the doctrine on correctness of syntax of the doctrine.
It can spoil the doctrine.
/.
Read Lerning About Doctrine Scripts Maybe its Help For You.
__________________
-+= I the ocean hunter, and I am dangerous =+-
*** Kalashnikov - the best ***
GrayOwl is offline   Reply With Quote
 


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 12:15 PM.


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