mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
e47e18001f
* Update display name in team * Update display name everywhere * order https://youtu.be/VYycQTm2HrM --------- Co-authored-by: BrettMayson <brett@mayson.io>
26 lines
616 B
Plaintext
26 lines
616 B
Plaintext
#include "script_component.hpp"
|
|
/*
|
|
* Author: kymckay, joko
|
|
*
|
|
* Arguments:
|
|
* None
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* call ace_interaction_fnc_onRemoteControl
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
private _units = curatorSelected select 0;
|
|
private _index = _units findIf {
|
|
(side _x) in [east, west, resistance, civilian]
|
|
&& !(isPlayer _x)
|
|
};
|
|
private _unit = _units param [_index, objNull];
|
|
bis_fnc_curatorObjectPlaced_mouseOver = ["OBJECT", _unit];
|
|
private _rc = (group _target) createUnit ["ModuleRemoteControl_F", [0,0,0], [], 0, "NONE"];
|
|
_rc setVariable ["BIS_fnc_initModules_disableAutoActivation", false];
|