I need to write a line in a script that checks if a pilot is actually IN an airplane, and checks if he is NOT in an airplane...and then activate the scripts I have written for both situations.
I intend to make him wear his helmet only while in the airplane, and take it off when he is not.
But I dont know what lines to write that will actually check that.
The rest of the script I have figured out. (I can remove his helmet by triggering the script)
Im guessing it will have to loop, so that it knows when he gets out of the plane.
Any ideas?