mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fc7b310529
the 9m14 control joystick can attach 4 9m14 launchers at a time. Replicate that here
25 lines
540 B
Plaintext
25 lines
540 B
Plaintext
#include "script_component.hpp"
|
|
/*
|
|
* Author: Brandon (TCVM)
|
|
* Initialise suitcase launcher
|
|
*
|
|
* Arguments:
|
|
* 0: Static Weapon <OBJECT>
|
|
* 1: Unit <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [cursorObject, player] call ace_malyutka_fnc_initSuitcase
|
|
*
|
|
* Public: No
|
|
*/
|
|
params ["_suitcase"];
|
|
|
|
_suitcase setVariable [QGVAR(plugTaken), false, true];
|
|
_suitcase setVariable [QGVAR(plugRope), objNull, true];
|
|
_suitcase setVariable [QGVAR(plugHeader), objNull, true];
|
|
_suitcase setVariable [QGVAR(attachedToPlugNumber), -1, true];
|
|
|