Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Made by Feuerex - Enjoy!;
- //Get a soldier instantly into a helicopter;
- soldier AssignAsCargo helicopter; //registers the soldier in the helicopter and reserves a seat for him;
- soldier MoveInCargo helicopter; //moves him instantly in;
- //Get out of the helicopter under normal conditions (when it lands);
- UnAssignVehicle soldier; //He leaves at the first opportunity;
- //Remove/add the fuel;
- helicopter SetFuel 0;
- helicopter SetFuel 1;
- //Wait for a soldier to get in the heli;
- soldier in helicopter
- //script version;
- if (soldier in helicopter) then {
- //code;
- };
- helicopter SetFlyHeight 10; //10 - in meters;
- //check if the helicopter is two meters above the ground or less;
- position helicopter select 2 < 2 //watch my tutorial on coordinates to get more info about this command;
- any = [helicopter,150] spawn BIS_fnc_UnitCapture;
- /*script captured.sqf;
- a = //paste recorded data here;
- _any = [helicopter, a] spawn BIS_fnc_UnitPlay;
- //End of script
- */
- any = [] execVM "captured.sqf";
- player Action ["EngineOn",helicopter]; //the player actually doesn't have to be in the helicopter to turn the engine on;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement