johnb432
6a25e9365a
Safemode - Refactor ( #10111 )
...
* Refactor safemode
* Further improvements and fixes
* Update XEH_postInit.sqf
* Don't allow binoculars to be set to safe
* Add API for getting weapon safety status
* Update fnc_jamWeapon.sqf
* Added doc
* Update fnc_playChangeFiremodeSound.sqf
* Update addons/overheating/functions/fnc_jamWeapon.sqf
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
* Update addons/weaponselect/functions/fnc_selectWeaponMode.sqf
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
---------
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2024-08-02 13:59:18 +02:00
johnb432
8f46ffd8d5
General - Change count
to forEach
where appropriate ( #9890 )
...
count -> forEach
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
2024-04-04 08:15:26 -03:00
Grim
e06c6f7835
General - Replace toLower with toLowerANSI where applicable ( #9790 )
...
* General - Replace toLower with toLowerANSI where applicable
* whoops
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
* Update addons/repair/functions/fnc_setHitPointDamage.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
* Update addons/repair/dev/draw_showRepairInfo.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
* Update addons/tagging/XEH_preStart.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
* Update addons/vehicle_damage/functions/fnc_handleCookoff.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
* Update addons/tagging/XEH_preStart.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
* comparment -> compartment
* Update fnc_showHud.sqf
* Update fnc_registerObjects.sqf
* Update addons/common/functions/fnc_cbaSettings_settingChanged.sqf
---------
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-03-07 22:08:13 +01:00
jonpas
742626ff1a
General - Relative script_component.hpp
includes ( #9378 )
...
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00
Cyruz
7f5a8e4099
Safety - Add optional flag to hide hint ( #9086 )
...
* Add optional flag to hide hint
* Update addons/safemode/functions/fnc_setWeaponSafety.sqf
* Update addons/safemode/functions/fnc_unlockSafety.sqf
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
* Update addons/safemode/functions/fnc_lockSafety.sqf
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: jonpas <jonpas33@gmail.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2022-12-03 13:57:16 -06:00
PabstMirror
7bc6fdfa66
Cleanup - Trim all trailing whitespace ( #8651 )
2021-10-30 16:42:03 -05:00
Ozan Eğitmen
2a7eb07803
Use modelToWorldVisualWorld ( #8489 )
...
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2021-10-10 15:37:05 +02:00
Neviothr
75f7ed7532
Utilize isNotEqualTo ( #7929 )
...
* Utilize isNotEqualTo
* undo changes to some files
* redo some changes, fix based on @Vdauphin 's comment
* fix validator issues
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2021-02-27 11:05:05 -06:00
Broström.A | Evul
b514541bec
Safemode - add public setWeaponSafety function ( #7092 )
...
* Create fn_safeWeapon.sqf
* Update XEH_PREP.hpp
* Adjustments to script to meet demands
not tested
* adjustment according to review
* minor adjustments
* Update fn_safeWeapon.sqf
* Rename and adjustments
* Adjustments
* Fixed typo
Co-Authored-By: commy2 <commy-2@gmx.de>
* Update addons/safemode/functions/fn_setWeaponSafety.sqf
Co-Authored-By: commy2 <commy-2@gmx.de>
* Update addons/safemode/functions/fn_setWeaponSafety.sqf
Co-Authored-By: commy2 <commy-2@gmx.de>
* Fixed missing param in exsample
* Test fixes
* Update addons/safemode/functions/fnc_setWeaponSafety.sqf
Co-Authored-By: Filip Maciejewski <veteran29@users.noreply.github.com>
2019-10-07 20:19:04 -05:00
pterolatypus
06a0f30a05
Removed a redundant conflict-check in fnc_lockSafety ( #7189 )
2019-10-07 20:07:14 -05:00
Dystopian
2ff614c3a2
Safe Mode - Fix disabled laser on safety switch ( #6639 )
...
* Fix disabled laser on safety switch
* Add workaround for switching to primary weapon
* Add UGL check
2019-03-12 11:26:20 -05:00
Dedmen Miller
e2ac18a05d
[WIP] Fix script errors reporting wrong line numbers ( #6407 )
...
* advanced_ballistics
* advanced_fatigue
* advanced_throwing
* ai
* aircraft
* arsenal
* atragmx
* attach
* backpacks
* ballistics
* captives
* cargo
* chemlights
* common
* concertina_wire
* cookoff
* dagr
* disarming
* disposable
* dogtags
* dragging
* explosives
* fastroping
* fcs
* finger
* frag
* gestures
* gforces
* goggles
* grenades
* gunbag
* hearing
* hitreactions
* huntir
* interact_menu
* interaction
* inventory
* kestrel4500
* laser
* laserpointer
* logistics_uavbattery
* logistics_wirecutter
* magazinerepack
* map
* map_gestures
* maptools
* markers
* medical
* medical_ai
* medical_blood
* medical_menu
* microdagr
* minedetector
* missileguidance
* missionmodules
* mk6mortar
* modules
* movement
* nametags
* nightvision
* nlaw
* optics
* optionsmenu
* overheating
* overpressure
* parachute
* pylons
* quickmount
* rangecard
* rearm
* recoil
* refuel
* reload
* reloadlaunchers
* repair
* respawn
* safemode
* sandbag
* scopes
* slideshow
* spectator
* spottingscope
* switchunits
* tacticalladder
* tagging
* trenches
* tripod
* ui
* vector
* vehiclelock
* vehicles
* viewdistance
* weaponselect
* weather
* winddeflection
* yardage450
* zeus
* arsenal defines.hpp
* optionals
* DEBUG_MODE_FULL 1
* DEBUG_MODE_FULL 2
* Manual fixes
* Add SQF Validator check for #include after block comment
* explosives fnc_openTimerUI
* fix uniqueItems
2018-09-17 14:19:29 -05:00
Dedmen Miller
81e02a7336
Refactor private ARRAY to private keyword ( #5598 )
...
* Everything
* Fixed missing ;
* Fix missing ; and double private
* Fixed cannot isNull on number
* Turn _temparture back to isNil
* Fix error from merge
2017-10-10 09:39:59 -05:00
PabstMirror
0cdb2ce238
Increase max weapon index for large modsets ( #5054 )
2017-05-12 13:12:39 -05:00
Glowbal
b489750d5b
Minor optimizations using private, params, and isEqualType ( #4323 )
...
* Optimizations with private, params, and isEqualType
* Fixed tab being used instead of space
* Fixed tabs inserted by notepad++
* More usage of new private syntax and params
- changed a few checks for an array being empty to `_arr isEqualTo []`
rather than `count _arr == 0`
- added more uses of `private` on the same line as the variable is
declared
- added more uses of params to assign variables passed as parameters
- removed unnecessary parentheses
- removed several unnecessary variable declarations with private array
syntax
* clean up and formatting
2016-09-04 16:44:22 +02:00
commy2
73d5b3c77b
relace ace_common_fnc_canUseWeapon with CBA_fnc_canUseWeapon
2016-02-20 22:41:24 +01:00
Glowbal
c1fa81f28b
Fix tabs in sqf files
2015-12-21 17:05:48 +01:00
commy2
5a1aae6028
manual merge
2015-11-30 17:44:15 +01:00
commy2
a8228f60c2
fix configFile capitalization
2015-11-30 17:23:02 +01:00
PabstMirror
69b53af1d3
1.54 - Replace typeName with isEqualType
2015-11-20 11:40:31 -06:00
commy2
50046decf3
Code Cleanup SafetyMode
2015-09-27 08:28:55 +02:00
Michael Braun
eaae6dfb7d
Replaced padding chain with params defaults
2015-08-14 11:43:36 +02:00
Michael Braun
2bbf631e71
Fixed missing semi-colon in safemode.
2015-08-14 11:39:22 +02:00
Michael Braun
4babfa0bf8
Fixed missing return value description in safemode module
2015-08-11 17:56:46 +02:00
Michael Braun
42e7340b79
Code cleanup of Safemode module
2015-08-11 16:50:05 +02:00
Glowbal
c75ae71adf
Merge pull request #1497 from acemod/Fix-PlayFiremodeChangedSound
...
Fixed find file extension in playChangefiremode
2015-06-06 21:39:34 +02:00
Glowbal
9bbeb7183e
Fixed find file extension in playChangefiremode
2015-06-04 10:39:43 +02:00
jonpas
763cb07629
Macro STRING to LSTRING
2015-05-28 21:59:04 +02:00
jonpas
6072e14077
Changed all strings to macros (except external)
2015-05-27 19:04:25 +02:00
PabstMirror
437db22ab8
#1364 - Prevent script error if bad muzzle
2015-05-22 23:38:16 -05:00
SAM
bed35b1ac8
Fixed safemode module indentation
2015-05-15 15:41:41 +02:00
SAM
ca17e71200
Safemode macro cleanup
2015-05-15 10:06:11 +02:00
Nou
6541600d44
Switch everything to use modelToWorldVisual instead of modelToWorld.
2015-04-03 15:26:27 -07:00
Nicolás Badano
9247bb3411
safemode: port
2015-01-17 17:32:34 -03:00
Nicolás Badano
7c41eb04e9
AGM_SafeMode pre CBA
2015-01-17 17:01:47 -03:00