PabstMirror
c163d6d53a
Laserpointer - Block laser attachments if setting disabled (CBA 3.16.0) ( #9346 )
...
* Laserpointer - Block laser attachements if setting disabled
req https://github.com/CBATeam/CBA_A3/pull/1595
* Apply suggestions from code review
* Update addons/main/script_mod.hpp
---------
Co-authored-by: jonpas <jonpas33@gmail.com>
2023-09-07 14:05:24 -05:00
GhostIsSpooky
998f86f034
General - Move to CBA Settings ( #8461 )
...
* first pass
* second pass
* third pass
* final pass
* missing commas
* newlines
* switch to cba eventhandler
* newlines, formatting
* laser - movedToSQF
* add logging to ace_common_fnc_cbaSettings_loadFromConfig
* Update initSettings.sqf
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2021-10-11 15:48:30 -05:00
PabstMirror
e6a291bc3b
Remove unit from laser pointer list if laser removed ( #5190 )
2017-05-31 11:31:10 -05:00
jonpas
bc70571765
Use CBA Accessory Functions for Laser mode switching ( #4855 )
...
* Use CBA Accessory Functions for Laser mode switching
* Use CBA ACC EH to prevent switching to unusable lzr (#4860 )
* Use CBA ACC EH to prevent switching to unusable lzr
* Re-call CBA_accessory_fnc_switchAttachment
* Require CBA 3.2.0
2017-02-25 17:16:40 +01:00
PabstMirror
dfca4fdcf8
Pass functions by "reference" to bis event handlers ( #4898 )
...
* Pass functions by "reference" to bis event handlers
* Add Doc
* Fix
2017-02-14 10:54:37 -06:00
commy2
97a0624375
Optimize Laserpointer ( #4859 )
...
* only process one unit every 0.1 seconds
* exitWith to keep indentation low
* use event to determine isIR and isTI
* correctly remove units with turned on lights from their arrays
* handle weaponAccessories command reporting nil
2017-02-10 12:47:08 -06:00
commy2
74dfa6ca33
avoid PCTW error on certain vehicles ( #4463 )
...
fix #4413
2016-10-08 12:45:40 +02: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
SilentSpike
bd985d57ff
Run event renaming script for new additions
2016-06-03 20:53:43 +01:00
jonpas
4f515ec4e1
QGVAR captives, interaction
2016-05-25 20:23:53 +02:00
SilentSpike
c4b75160a4
Run event renaming script
2016-05-24 14:13:11 +01:00
SilentSpike
108ff4f644
Replace ACE event system calls with CBA counterparts
...
Regex used:
\[(.+?),(.+?),(.+?)\]\s+call\s+E?FUNC\((common,)?(target|object)Event\)
[$1,$3,$2] call CBA_fnc_targetEvent
E?FUNC\((common,)?(server|global|local)Event\)
CBA_fnc_$2Event
E?FUNC\((common,)?(add|remove)EventHandler\)
CBA_fnc_$2EventHandler
2016-05-22 16:47:39 +01:00
jokoho48
b7e02da1cc
remove if (!hasInterface) from PFH
...
move ! in ()
2015-09-11 16:58:26 +02:00
bux578
5ffdf4628f
remove asdg message
...
new cba will include asdg jr
2015-08-16 13:15:01 +02:00
PabstMirror
2efc095c93
Merge branch 'master' into laserPointerSetting
...
Conflicts:
addons/laserpointer/XEH_postInit.sqf
2015-06-13 11:02:00 -05:00
ulteq
9b2ebfcbe8
Privates, newline braces, typos
2015-06-13 10:41:19 +02:00
PabstMirror
b960ae5d6b
Optional setting to disable laser pointer system
2015-06-12 00:58:04 -05:00
PabstMirror
1dd34199d6
ASDG- Fail gracefully if attachments not compatible
2015-05-15 22:23:46 -05:00
commy2
f89e02a5ca
fix no laser in ffv slots
2015-04-14 13:24:17 +02:00
commy2
3da3543381
toggle laser vs ir laser
2015-04-14 00:32:09 +02:00
commy2
d34cfdb003
fix: day laser when being captured
2015-04-07 19:38:19 +02:00
Nicolás Badano
e7ec905892
Cache the units near to the camera instead of the player.
...
Works even when no player exists or is somehow viewing the action remotely.
2015-01-17 23:48:44 -03:00
commy2
8683667d24
add day laser pointer
2015-01-17 23:38:13 +01:00