From c9cf2eed45f71693f51918136d2a1c1f0f64ef53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brostr=C3=B6m=2EA=20=7C=20Evul?= Date: Wed, 24 Jul 2024 15:07:31 +0200 Subject: [PATCH] Update fn_training_addTargetComputer.sqf --- .../functions/systems/fn_training_addTargetComputer.sqf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cScripts/functions/systems/fn_training_addTargetComputer.sqf b/cScripts/functions/systems/fn_training_addTargetComputer.sqf index fbdadbaf4..eb751e347 100644 --- a/cScripts/functions/systems/fn_training_addTargetComputer.sqf +++ b/cScripts/functions/systems/fn_training_addTargetComputer.sqf @@ -5,8 +5,11 @@ * Arguments: * 0: resetButtonObject * 1: listOfTargets - * 1: actionCaption (Optional) + * 2: actionCaption (Optional) * + * Return: + * ActionID + * * Example: * [this, [MyTargetVariableName], "Reset Range Targets"] call cScripts_fnc_training_addTargetComputer; * [this, [T1,T2,T3,T4]] call cScripts_fnc_training_addTargetComputer; @@ -33,7 +36,6 @@ params [ _target setVariable ["BIS_isPopping", false]; _target animate ["Terc", 1]; - }]; } forEach _targets;