mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
21 lines
404 B
Plaintext
21 lines
404 B
Plaintext
|
#include "script_component.hpp"
|
||
|
/*
|
||
|
* Author: Brandon (TCVM)
|
||
|
* Whether or not we can take the plug from the launch suitcase
|
||
|
*
|
||
|
* Arguments:
|
||
|
* 0: Static Weapon <OBJECT>
|
||
|
* 1: Unit <OBJECT>
|
||
|
*
|
||
|
* Return Value:
|
||
|
* None
|
||
|
*
|
||
|
* Example:
|
||
|
* [cursorObject, player] call ace_malyutka_fnc_canTakePlug
|
||
|
*
|
||
|
* Public: No
|
||
|
*/
|
||
|
params ["_unit", "_target"];
|
||
|
(alive _target) && !(_target getVariable QGVAR(plugTaken))
|
||
|
|