ACE3/addons/advanced_fatigue/functions/fnc_removeDutyFactor.sqf
GhostIsSpooky 8d83982d86
Advanced Fatigue - Improve misc. code (#8800)
* add improvements from #8763

* review changes

* writing is hard

Co-authored-by: BaerMitUmlaut <BaerMitUmlaut@users.noreply.github.com>

* missing ;

Co-authored-by: BaerMitUmlaut <BaerMitUmlaut@users.noreply.github.com>
2022-03-08 21:41:56 -06:00

20 lines
307 B
Plaintext

#include "script_component.hpp"
/*
* Author: BaerMitUmlaut
* Removes a duty factor.
*
* Arguments:
* 0: Factor ID <STRING>
*
* Return Value:
* None
*
* Example:
* ["ID"] call ace_advanced_fatigue_fnc_removeDutyFactor
*
* Public: No
*/
params [["_id", "", [""]]];
GVAR(dutyList) deleteAt _id;