hmm... 0818 is a new one on me. Is that in Cleo 4? I never bothered to upgrade, too lazy I suppose.Edit:
My bad 0818 is there had my SB3 set on VC and forgot.
Because I have this;
0819: [email protected]
= actor $PLAYER_ACTOR distance_from_ground
I am here to upload my brother's old scripts today. You can find them here
open that archive and look for the one called Flying Elvis. That shows how to do a whole skydive routine without the parachute.
After looking at how the main.scm uses this 0818 opcode, I would have called it;
0818: actor $PLAYER_ACTOR is_airborne or maybe is_falling?
Because you have to remember that these "definitions" are made by modders for other modders. They are stored in the Sanny Builder's data files under the SASCM.INI
0818: $PLAYER_ACTOR - is how the machine reads this and those additional words are for our benefit.
I applaud the fact that so many people figured this out so I would not have to do it myself.
it first appears in the casino mission "Saint Mark's Bistro" used as a check to see if you are flying to Liberty City and again back to San Andreas. It is used in the parachute mission to set a global variable. Also the global variable "$FreeFall_Stage" has multiple stages of falling. This opcode might be a checking for CJ to be in one of those stages.