mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
bca8b01860
* Add search to teleport players UI * Change group side icons to look better * Improve teleport UI and add stringtable entries * Add Assign Repair Vehicle module * Add Assign Repair Facility module * Add Assign Engineer module * Add Full Heal module * Add Suicide Bomber module * Make heal module work without ace_medical * Add suicide bomber module translations * Improve attribute cargo to use displayName * Improve set engineer ui * ACE_Curator for repair modules + author array * Add angle param to getModuleDestination * Prevent multiple suicide bomber modules on same target * Heal module: support BI scripted revive system * Requested changes
28 lines
534 B
Plaintext
28 lines
534 B
Plaintext
/*
|
|
* Author: Glowbal
|
|
* Adds an object to curator upon spawn
|
|
*
|
|
* Arguments:
|
|
* Object <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [object] call ace_zeus_fnc_addObjectToCurator
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
params ["_object"];
|
|
|
|
if (!(_object getVariable [QGVAR(addObject), GVAR(autoAddObjects)])) exitWith {};
|
|
|
|
[{
|
|
TRACE_1("Delayed addCuratorEditableObjects",_this);
|
|
{
|
|
_x addCuratorEditableObjects [[_this], true];
|
|
} forEach allCurators;
|
|
}, _object] call CBA_fnc_execNextFrame;
|