-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add setting for hook attach script (#296)
- Loading branch information
1 parent
da63fa0
commit 7bea240
Showing
4 changed files
with
12 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,6 @@ | |
ADDON = false; | ||
|
||
#include "XEH_PREP.hpp" | ||
#include "initSettings.sqf"; | ||
|
||
ADDON = 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[ | ||
"vtx_uh60_hoist_setting_useAttachScript", // Internal setting name, should always contain a tag! This will be the global variable which takes the value of the setting. | ||
"CHECKBOX", // setting type | ||
["Use Attach Script", "When in the hoist hook, automatically switch between walking with hook attached and sitting in the hook seat based on height and cable stretch."], // Pretty name shown inside the ingame settings menu. Can be stringtable entry. | ||
["UH-60M", "Hoist"], // Pretty name of the category where the setting can be found. Can be stringtable entry. | ||
true, // data for this setting: [min, max, default, number of shown trailing decimals] | ||
nil // "_isGlobal" flag. Set this to true to always have this setting synchronized between all clients in multiplayer | ||
] call CBA_fnc_addSetting; |