Hello,
I am in the process of animating some hangar doors for one of my projects and I’ve came across a strange issue. I’d like to have a bit of a dynamic look to my airfield, so I’d like to animate the doors so they’ll open under certain conditions. To emphasize this, I’d like to have the doors open at different times for each day.
So I’ve been adding the (E:LOCAL DAY OF WEEK, Number) variable that needs to be met to open a door. First of all, I found that Monday’s are not a vallue of 0, like the SDK discribes, but 1. And second, if Monday is 1, Sunday would be 0 and Saturday would be 6, during the weekend the doors refuse to open! Not if i’m using the 1 < 5 > 0 == or 6 == commands. Also, I’ve tried replacing (E:LOCAL DAY OF WEEK, Number) by (E:ZULU DAY OF WEEK, Number) and the sim is behaving the same. Is there any solution to solve this issue?
BTW: During the rest of the week the code is working fine and the code for the weekend days are exactly the same.