From d6a37f3fdeb6dffa372b2c1d8f7ff4e0bc380d95 Mon Sep 17 00:00:00 2001
From: johnb432 <58661205+johnb432@users.noreply.github.com>
Date: Sat, 2 Mar 2024 16:36:43 +0100
Subject: [PATCH] Change stringtable entries
---
addons/frag/XEH_postInit.sqf | 2 +-
addons/frag/functions/fnc_doFragTargeted.sqf | 1 -
addons/frag/stringtable.xml | 8 ++++----
3 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/addons/frag/XEH_postInit.sqf b/addons/frag/XEH_postInit.sqf
index 49e0888509..21ba57c9fb 100644
--- a/addons/frag/XEH_postInit.sqf
+++ b/addons/frag/XEH_postInit.sqf
@@ -46,7 +46,7 @@
["ACE_SelfActions"],
_action,
true
- ] call ace_interact_menu_fnc_addActionToClass;
+ ] call EFUNC(interact_menu,addActionToClass);
}
] call CBA_fnc_addEventHandler;
#endif
diff --git a/addons/frag/functions/fnc_doFragTargeted.sqf b/addons/frag/functions/fnc_doFragTargeted.sqf
index ffaa59e963..dab13782fb 100644
--- a/addons/frag/functions/fnc_doFragTargeted.sqf
+++ b/addons/frag/functions/fnc_doFragTargeted.sqf
@@ -40,7 +40,6 @@ if (_fragTypes isEqualTo []) then {
// Post 2.18 change - uncomment line 41, remove line 43, 50-55, 64-66, and change lines 57 & 169 from _targets to _objects
// private _objects = [ASLToAGL _posASL, _fragRange, _fragRange, 0, false, _fragRange] nearEntities [["Car", "Motorcycle", "Tank", "StaticWeapon", "CAManBase", "Air", "Ship"], false, true, true];
-
private _objects = (ASLToAGL _posASL) nearEntities [["Car", "Motorcycle", "Tank", "StaticWeapon", "CAManBase", "Air", "Ship"], _fragRange];
if (_objects isEqualTo []) exitWith {
TRACE_2("No nearby targets",_posASL,_fragRange);
diff --git a/addons/frag/stringtable.xml b/addons/frag/stringtable.xml
index a84dfb65ba..a60e70222e 100644
--- a/addons/frag/stringtable.xml
+++ b/addons/frag/stringtable.xml
@@ -127,7 +127,7 @@
Simulation Mode
- Create a combination of random and/or unit targeted fragments
+ Sets the fragmentation simulation mode, which can be targeted, random or both.
Unit targeted fragmentation
@@ -142,13 +142,13 @@
Disable Fragment Misses
- For each unit a fragment could be shot towards, create it. This setting has no effect when "Random fragmentation" is selected.
+ Create a fragment for each unit that a fragment could be shot towards. This setting has no effect when "Random fragmentation" is selected.
Spalling Intensity
- Modifier to increase or decrease the number and intensity of spalling events. Increasing this value may cause performance degredation
+ Modifier to increase or decrease the number and intensity of spalling events. Increasing this value may cause performance degradation.
Maximum Projectiles Tracked
@@ -220,7 +220,7 @@
Draw Hitboxes
- Draw hitboxes on objects added using ace_frag_fnc_dev_trackHitBox.
+ Draw hitboxes on objects that were hit.