mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
24 lines
419 B
Plaintext
24 lines
419 B
Plaintext
/*
|
|
* Author: PabstMirror
|
|
* Unloads a captive from a vehicle.
|
|
*
|
|
* Arguments:
|
|
* 0: Captive Unit being unloaded <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* Nothing
|
|
*
|
|
* Example:
|
|
* TODO
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
PARAMS_1(_unit);
|
|
|
|
_unit setVariable ["ACE_Captives_CargoIndex", -1, true];
|
|
|
|
moveOut _unit;
|
|
[_unit, "ACE_AmovPercMstpScapWnonDnon", 2] call EFUNC(common,doAnimation);
|
|
unassignVehicle _unit; |