![]() |
UDF Question
Functionally, is this:
[SENSOR2] Type = RADAR #if between(19420201,date,19420831) System = RadarUS_SC1 #endif #if between(19420901,date,19460101) System = RadarUS_SC2 #endif the same as this: #if between(19420201,date,19420831) [SENSOR2] Type = RADAR System = RadarUS_SC1 #endif #if between(19420901,date,19460101) [SENSOR2] Type = RADAR System = RadarUS_SC2 #endif ? |
Yes. Since the lack of, say, a sensor 2 before a sensor 3, will be ignored by the game, the effect is the same (It will jump to the next number in order) :)
|
Good. I see arranging Sensors and Weapons with two or three consecutive date ranges - i.e., one type of RADAR replacing another - using the first method as being better because it takes up less room (smaller file), and is easier to understand because it's easier to deal mentally with one Sensor or Weapon at a time and easier to see the date ranges.
I'm going through all the UDFs and making them all consistent. Anal-retentive? Who, me? Nope, just an old technical writer who likes everything to look the same. All right, maybe I'm just a little bit anal-retentive. :yep: |
All times are GMT -5. The time now is 01:30 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.