Compare commits

..

6 Commits
3.1.0 ... 3.1.1

3 changed files with 116 additions and 103 deletions

View File

@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project badly attempts [Semantic Versioning](https://semver.org/spec/v2.0.0.html). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project badly attempts [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [3.1.1] - 2024-01-04
### Changed
- Spelling Fixes
- Update class binding for vehicle flag interaction
## [3.1.0] - 2023-12-17 ## [3.1.0] - 2023-12-17
### Added ### Added

View File

@@ -80,8 +80,14 @@ milsim_vehicleflag_options = [
]; ];
private _appliedParentClasses = [
"LandVehicle",
"Helicopter"
];
["AllVehicles", "InitPost", { {
private _parentClass = _x;
[_parentClass, "InitPost", {
private _flagActionID = "SetVehicleFlag"; private _flagActionID = "SetVehicleFlag";
private _flagMasterAction = [ private _flagMasterAction = [
_flagActionID, // id _flagActionID, // id
@@ -186,5 +192,6 @@ milsim_vehicleflag_options = [
] call ace_interact_menu_fnc_addActionToObject; ] call ace_interact_menu_fnc_addActionToObject;
}, true, [], true] call CBA_fnc_addClassEventHandler; }, true, [], true] call CBA_fnc_addClassEventHandler;
} forEach _appliedParentClasses;
nil; nil;

View File

@@ -6,7 +6,7 @@
"milsim_sideChat", "milsim_sideChat",
"CHECKBOX", "CHECKBOX",
"Side Chat Text Enabled", "Side Chat Text Enabled",
["17th Battallion", "Side Chat"], ["17th Battalion", "Side Chat"],
false, false,
true, true,
{ {
@@ -25,7 +25,7 @@
"milsim_server_cps_enable", "milsim_server_cps_enable",
"CHECKBOX", "CHECKBOX",
"CPS Metrics Enabled", "CPS Metrics Enabled",
["17th Battallion", "Server Metrics"], ["17th Battalion", "Server Metrics"],
true, true,
true, true,
{ {
@@ -40,7 +40,7 @@
"milsim_server_cps_interval", "milsim_server_cps_interval",
"TIME", "TIME",
"Metrics Interval", "Metrics Interval",
["17th Battallion", "Server Metrics"], ["17th Battalion", "Server Metrics"],
[60,300,120], [60,300,120],
true, true,
{ {
@@ -71,7 +71,7 @@
"milsim_client_cps_enable", "milsim_client_cps_enable",
"CHECKBOX", "CHECKBOX",
"CPS Metrics Enabled", "CPS Metrics Enabled",
["17th Battallion", "Client Metrics"], ["17th Battalion", "Client Metrics"],
true, true,
true, true,
{ {
@@ -86,7 +86,7 @@
"milsim_client_cps_interval", "milsim_client_cps_interval",
"TIME", "TIME",
"CPS Metrics Interval", "CPS Metrics Interval",
["17th Battallion", "Client Metrics"], ["17th Battalion", "Client Metrics"],
[60,300,120], [60,300,120],
true, true,
{ {