Im trying to make this really simple skin that makes a picture of a sun go up and down based on the time of day. For some reason its not plotting the sun. Help please. Here's my code:
Have you tried adding parentheses in that formula? I'm not sure what priority exactly this if-then-else operator has, so I'd better bracket them just to be sure.
MerlinTheRed wrote:Have you tried adding parentheses in that formula? I'm not sure what priority exactly this if-then-else operator has, so I'd better bracket them just to be sure.
Merlin is right, take a look at the parentheses in this example:
This measure would return 97. Since the first statement of MeasureOne < 1 is false, the formula begins testing the nested formulas in order until the condition becomes true . If none of the conditions are met, the final false value of 96 would be set.
This is my current code. I have it at #SCREENAREAHEIGHT#-500 because that's where the horizon is. It's not working because all it will do is plot at #SCREENAREAHEIGHT#-500. I think its disregarding the rest of the formula because the MeasureSunHeight value isnt being carried over?