SUBSIM Radio Room Forums



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

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 11-09-10, 05:13 PM   #1
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by TheDarkWraith View Post
Thank you I hope to see some awesome tutorials from you soon

Any recommendations for new commands/features for Automation or the new tutorial feature?
I have been getting the feel for the tutorial commands but I have a question,

" If x != 0 then a 'Wait' command will be issued with a time of x."

Im assuming this is just as it sounds - enter any number for seconds to wait in the para x and thus removing the need for the wait command.
But what does the "!" stand for?


At the moment I am making some single missions for use with sensors etc (still reading the tutotial by Kylania on how to do this)

I hope to have some finished during the weekend
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 11-09-10, 05:40 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Trevally. View Post
I have been getting the feel for the tutorial commands but I have a question,

" If x != 0 then a 'Wait' command will be issued with a time of x."

Im assuming this is just as it sounds - enter any number for seconds to wait in the para x and thus removing the need for the wait command.
But what does the "!" stand for?
sorry, I guess that would be confusing to those who aren't familiar with programming in C++, C#, or Python. The expression 'x != 0' translates to:
if x does not equal 0

This does indeed remove the need for the wait command
TheDarkWraith is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui

Thread Tools
Display Modes

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 11:12 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.