Skip to content

Instantly share code, notes, and snippets.

@KoffeinFlummi
Created December 22, 2014 19:10
Show Gist options
  • Save KoffeinFlummi/ef8ba49ccbf635f54a10 to your computer and use it in GitHub Desktop.
Save KoffeinFlummi/ef8ba49ccbf635f54a10 to your computer and use it in GitHub Desktop.
0 = this spawn {
waitUntil {_this getVariable ['AGM_RopesDeployed', False]};
sleep 2;
{
waitUntil {count ([_this getVariable ['AGM_RopesOccupied', []], {!_this}] call AGM_Core_fnc_filter) > 0};
sleep 1;
unassignVehicle _x;
[_x, _this] call AGM_FastRoping_fnc_fastRope;
} forEach ([crew _this, {!(isPlayer _this) and (assignedVehicleRole _this select 0 == "Cargo")}] call AGM_Core_fnc_filter);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment