I'm trying to make a stall warning indicator.
the way I have it set up right now is a piston that pushes some text from behind to in front of a black button, to provide the illusion of a light coming on.
Right now I'm using AngleOfAttack>10, but it hasn't worked.
Any advise? Maybe a better way to do this?
Any help is much appreciated!
@DumbPlaneMaker I've got it working, thanks for your help!
alright, I'll give it a try. I think I understand now.
@FlightFun No, if it's in these things " " the game should recognize it as text
Sorry I'm an idiot, FT isn't my strong suit. I'd Imagine I can't just copy and paste {-AngleOfAttack>10?"WARNING":"-"} and put it in the text. I did it anyway to make sure, but I'm still missing something. Do I have to make the game recognize "WARNING" before it will work?
AngleOfAttack is negative compared to what is expected, very weird but that's how it is
Firstly, dont use a piston, use the label in the cockpits tab. To write a FT code, put it in {}. To write an "if" function, write the condition, then "?", then what happens if your condition is true, then ":", then what happens if your condition isn't true. So the text in the label should look like
{-AngleOfAttack>10?"WARNING":"-"}
Or something other than WARNING, you decide that.
Btw it's -AngleOfAttack because in SP an angle of attack of say 10 degrees would give -10 as an output.
@hpgbproductions I don’t quite know what you mean? I should elaborate more here, I’ve put AngleOfAttack>10 in the Input box using overlord. Is there something there that I’m missing?
The idea of the code is solid, but check the actual output of the variable, it might not be what you expect