mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
ffaa195fe5
* Fixed headers to work with silentspike python script * Fixed rest of the files * Fixed ace-team
27 lines
556 B
Plaintext
27 lines
556 B
Plaintext
/*
|
|
* Author: PabstMirror
|
|
* Unloads a captive from a vehicle.
|
|
*
|
|
* Arguments:
|
|
* 0: Captive Unit being unloaded <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [bob] call ACE_captives_fnc_vehicleCaptiveMoveOut;
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
params ["_unit"];
|
|
TRACE_1("params",_unit);
|
|
|
|
_unit setVariable [QGVAR(CargoIndex), -1, true];
|
|
|
|
moveOut _unit;
|
|
[_unit, "ACE_AmovPercMstpScapWnonDnon", 2] call EFUNC(common,doAnimation);
|
|
[_unit, "ACE_AmovPercMstpScapWnonDnon", 1] call EFUNC(common,doAnimation);
|
|
unassignVehicle _unit;
|