forked from KillahPotatoes/KP-Liberation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Originally from: KillahPotatoes#942 Co-Authored-By: some-evil-kitty <[email protected]>
- Loading branch information
1 parent
1e5474e
commit c8b7606
Showing
9 changed files
with
73 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
Missionframework/functions/fn_LAMBS_enableReinforcements.sqf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
File: fn_LAMBS_enableReinforcements.sqf | ||
Author: Jenna | ||
Date: 2023-10-21 | ||
Last Update: 2023-10-21 | ||
License: MIT License - http://www.opensource.org/licenses/MIT | ||
Description: | ||
Enables LAMBS reinforcements + radio on a given group | ||
Parameter(s): | ||
_grp - Group to enable features on [Group, defaults to grpNull] | ||
Returns: | ||
Nothing | ||
*/ | ||
|
||
params [ | ||
["_grp", grpNull, [grpNull]] | ||
]; | ||
|
||
if (isNull _grp) exitwith { | ||
["Attempted to set LAMBS Reinforcements on null group.", "ERROR"] remoteExecCall ["KPLIB_fnc_log", 2]; | ||
}; | ||
|
||
(leader _grp) setVariable ["lambs_danger_dangerRadio", true,true]; | ||
_grp setVariable ["lambs_danger_enableGroupReinforce", true, true]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters