Skip to content

Commit 9bb8917

Browse files
committed
Changed - CBA setting for Survivable Crashes multiplier to slider
Why ================= So that it's easier to use rather than writing a decimal based number. Also, this way CBA settings enforces `min` and `max` limits. Issue ID: #34
1 parent 66335d8 commit 9bb8917

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

addons/core/XEH_clientPreInit.sqf

+5-5
Original file line numberDiff line numberDiff line change
@@ -70,25 +70,25 @@ private _bnb_e_settings = [
7070
[
7171
"bnb_e_sc_enable",
7272
"CHECKBOX",
73-
["Enable survivable crashes", "Tick to survivable crashes"],
73+
["Enable survivable crashes", "Tick to enable survivable crashes"],
7474
"2BNB Survivable crashes",
7575
true,
7676
true
7777
],
7878
[
7979
"bnb_e_sc_vehicles",
8080
"EDITBOX",
81-
["Vehicle classes", "vehicle classes in square brackets, with quotation marks seperated by ,"],
81+
["Vehicle classes", "Vehicle classes in square brackets, with quotation marks seperated by ,"],
8282
"2BNB Survivable crashes",
8383
"[""Air""]",
8484
true
8585
],
8686
[
8787
"bnb_e_sc_damage",
88-
"EDITBOX",
89-
["Damage multiplier", "decimal from 0 to 1 ex 0.5"],
88+
"SLIDER",
89+
["Damage multiplier", "The amount of damage to apply to crashed player"],
9090
"2BNB Survivable crashes",
91-
"0.3",
91+
[0, 1, 0.3, 1],
9292
true
9393
]
9494
];

0 commit comments

Comments
 (0)