forked from KillahPotatoes/KP-Liberation
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
battlegroup ai fix. PR KillahPotatoes#942
- Loading branch information
1 parent
4f56f4a
commit 0ba542d
Showing
9 changed files
with
68 additions
and
56 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
24 changes: 24 additions & 0 deletions
24
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,24 @@ | ||
/* | ||
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