mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
27 lines
370 B
Plaintext
27 lines
370 B
Plaintext
/*
|
|
* Author: Glowbal
|
|
*
|
|
*
|
|
* Arguments:
|
|
* 0: group ID <STRING>
|
|
*
|
|
* Return Value:
|
|
* orbat element data <ARRAY>
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
params ["_groupID"];
|
|
|
|
private ["_data"];
|
|
_data = [_groupID, "", -1/*parent group ID*/];
|
|
{
|
|
if (_x select 0 == _groupID) exitWith {
|
|
_data = _x;
|
|
};
|
|
} forEach GVAR(orbatElements);
|
|
|
|
_data
|