Skip to content

Instantly share code, notes, and snippets.

@mcongrove
Created December 30, 2016 03:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcongrove/7898ad1ce2ab6db7ff8d7d37f323c720 to your computer and use it in GitHub Desktop.
Save mcongrove/7898ad1ce2ab6db7ff8d7d37f323c720 to your computer and use it in GitHub Desktop.
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