this is the vehicle re-spawn script for the USCM dropship, for some reason the APC doesn't spawn high enough and the very talented KyleSarnik is missing, so if someone could modify this script so that the APC spawned goes 2-4m higher when spawned then i would be most grateful
_ship = _this select 0
_veh = _this select 1
_crew = _this select 2
_invis = _this select 3
_driver = driver _veh
_gunner = driver _veh
deletevehicle _veh
deletevehicle _invis
_fake = "BASfakejeep" createvehicle [0,0,0]
_fake moveincargo _ship
~0.01
"_X moveincargo _ship" foreach _crew
#loop
? (getpos _fake select 2) <= 5 && _ship animationPhase "ramp" >= 0.01 : goto "unload"
goto "loop"
#unload
deletevehicle _fake
_invis ="vag_invisible" createvehicle [0,0,0]
_invis moveincargo _ship
_veh = "USCM_apc" createvehicle [0,0,0]
_dir = (getdir _ship - 270)
_posx = (getpos _ship select 0)-(3 * cos _dir)
_posy = (getpos _ship select 1)+(3 * sin _dir)
_veh setpos [_posx,_posy,(getpos _invis select 2)+1]
_veh setdir (getdir _ship)
{_X action ["GETOUT",_ship]} foreach _crew
_driver moveindriver _veh
_gunner moveingunner _veh
"_X moveincargo _veh" foreach _crew
~1
_posA = (getpos _ship select 0)-(25 * cos _dir)
_posB = (getpos _ship select 1)+(25 * sin _dir)
_driver domove [_posA,_posB,0]
[_ship,_invis] exec "\vag_cheyenne\cargo.sqs"
exit