02-18-2018, 12:43 AM
Here's a script I wrote for making HALO jumps while preserving backpacks (it's attached to the belly while jumping).
I used it like this in init.sqf:
This will have all playableUnits start around the marker _start_marker, at a height of 3000
I used it like this in init.sqf:
Code:
FHQ_halo = compile preprocessFileLineNumbers "scripts\halo.sqf";
if (isServer) then {
_startPos = getMarkerPos "start_marker";
_startPos set [2, 3000];
{
private _scatter = [(random 20) - 10, (random 20) - 10, (random 20) - 10];
if (_x == leader group _x) then {
[_x, _startPos vectorAdd _scatter, _radio] remoteExec ["FHQ_halo", _x];
} else {
[_x, _startPos vectorAdd _scatter] remoteExec ["FHQ_halo", _x];
};
} foreach playableUnits;
};
This will have all playableUnits start around the marker _start_marker, at a height of 3000