-
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.
- Loading branch information
Showing
8 changed files
with
49 additions
and
23 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
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,29 @@ | ||
#include "script_component.hpp" | ||
/* | ||
* Author: 3Mydlo3 | ||
* Function loads config for killers stuff. | ||
* | ||
* Arguments: | ||
* None | ||
* | ||
* Return Value: | ||
* None | ||
* | ||
* Example: | ||
* None | ||
* | ||
* Public: No | ||
*/ | ||
|
||
params ["_property", "_defaultConfig", "_missionConfig"]; | ||
|
||
private _result = getText (_missionConfig >> _property); | ||
|
||
if (_result isEqualTo "") then { | ||
_result = getText (_defaultConfig >> _property); | ||
TRACE_3("Loaded property %1 from %2. Retrieved value: %3",_property,str _defaultConfig,_result); | ||
} else { | ||
TRACE_3("Loaded property %1 from %2. Retrieved value: %3",_property,str _missionConfig,_result); | ||
}; | ||
|
||
_result |
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
12 changes: 12 additions & 0 deletions
12
addons/missions/SerialKillers_CUP_RHS.Chernarus_Winter/CfgSerialKillers.hpp
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,12 @@ | ||
class CfgSerialKillers | ||
{ | ||
class Killers | ||
{ | ||
FlagClassName = "FlagCarrierINS"; | ||
}; | ||
|
||
class Police | ||
{ | ||
FlagClassName = "FlagCarrierCDF"; | ||
}; | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ class CfgSerialKillers | |
{ | ||
class Police | ||
{ | ||
FlagClassName = "Flag_US_F"; | ||
FlagClassName = "Flag_Gendarmerie_F"; | ||
}; | ||
}; |
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