ACE3/addons/captives/functions/fnc_vehicleCaptiveMoveOut.sqf

25 lines
458 B
Plaintext
Raw Normal View History

2015-02-04 05:13:44 +00:00
/*
* Author: PabstMirror
* Unloads a captive from a vehicle.
*
* Arguments:
* 0: Captive Unit being unloaded <OBJECT>
*
* Return Value:
* Nothing
*
* Example:
2015-02-06 23:03:56 +00:00
* [bob] call ACE_captives_fnc_vehicleCaptiveMoveOut;
2015-02-04 05:13:44 +00:00
*
* Public: No
*/
#include "script_component.hpp"
PARAMS_1(_unit);
2015-02-06 09:38:27 +00:00
_unit setVariable [QGVAR(CargoIndex), -1, true];
2015-02-04 05:13:44 +00:00
moveOut _unit;
[_unit, "ACE_AmovPercMstpScapWnonDnon", 2] call EFUNC(common,doAnimation);
2015-02-06 23:03:56 +00:00
unassignVehicle _unit;