Created
December 30, 2016 03:52
-
-
Save mcongrove/7898ad1ce2ab6db7ff8d7d37f323c720 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function foo() | |
if (get(onGround)==1) then | |
if (get(doorOpen)>=1) then | |
if (get(engineRunning)==1) then | |
g = 250 | |
else | |
g = 500 | |
end | |
else if (get(viewExternal)==1) then | |
g = 750 | |
end | |
end | |
if (g > 500) then | |
testYes() | |
else | |
testNo() | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment