2023-09-12 18:58:10 +00:00
|
|
|
#include "..\script_component.hpp"
|
2017-06-22 21:05:19 +00:00
|
|
|
/*
|
|
|
|
* Author: PabstMirror
|
|
|
|
* Modifies the ACE_JoinGroup action to show group name.
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* 0: Target <OBJECT>
|
|
|
|
* 1: Player <OBJECT>
|
|
|
|
* 2: Args <ANY>
|
|
|
|
* 3: Action Data <ARRAY>
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Example:
|
|
|
|
* [cursorObject, player, [], []] call ace_interaction_fnc_modifyJoinGroupAction
|
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
|
|
|
|
params ["_target", "_player", "", "_actionData"];
|
|
|
|
|
|
|
|
private _actionText = format ["%1: %2", localize LSTRING(JoinGroup), groupID group _target];
|
|
|
|
TRACE_3("",_target,group _target,_actionText);
|
|
|
|
|
|
|
|
_actionData set [1, _actionText];
|