* added possibility to define orientation on attach items in config
* added documentation on attach framework
* whitespace
* changed to use roll and yaw parameters instead of vectordir for easier usage, and to support placement view with rolled objects. Changed vector calculations
* Update addons/attach/functions/fnc_attach.sqf
* Docs and comments
* fix derp
* Update docs/wiki/framework/attach-framework.md
* Update attach-framework.md
---------
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
* Fix explosive placement while underwater
* Apply suggestions from code review
Co-Authored-By: alganthe <alganthe@live.fr>
* Change placeApprove header to reflect changes
* Replace lineIntersectsWith in isInMedicalFacility
* Replace linesIntersects in isInRepairFacility, fix params
Public func, params should have an expected type.
* Replace linesIntersects in spallTrack
* Replace lineIntersects in getFirstObjectIntersection and findReflection
* Replace lineIntersects in advanced throwing
grenades can pass glass underwater now, I bet all of 0 person will be glad that horrendous bug is now fixed.
* Fix possible issue in pointing while underwater
* Fix possible issue while underwater in attach
* Replace count with isEqualTo in lineIntersectsSurfaces replacements
* Fix inverted conditions
* Fix drawArc
* Fix fnc_attach
* Reverse advanced_throwing and spallTrack lineIntersects changes
* Fix issues raised from code review
* Add uniqueItems function
* Optimize dogtag children actions function
* Optimize getDetonators item search
* Store CfgWeapons lookup in getDetonators
* Update items to use new function
* Update items to use new function 2
* More optimization of uniqueItems function
* Update items to use new function 3
* Fix error in setupExplosive with CBA 3.8.0
getFov has a param check now, this function was passing args to it and causing an error.
* Fix getFov call in attach and viewDistance modules
* Add throw blocking status effect
* Add concertina_wire and tripod support
* Add launcher in hands support
* Disable effect sending more than once
* Fix EFUNC using, add trace
* Disable vanilla throw blocking
* Improve status handling
* Fix rearm status key
* Everything
* Fixed missing ;
* Fix missing ; and double private
* Fixed cannot isNull on number
* Turn _temparture back to isNil
* Fix error from merge
* Enable majority of actions underwater
* Remove log
* Add logistics_wirecutter support (don't play kneel animations underwater - looks silly)
* Don't perform kneel animations when repairing or medicaling underwater
* Fix interaction menu rendering underwater (was moving based on player eye level due to height max used for large vehicles)
* Fix attach underwater (LIW does not work underwater, LIS does), Add attach scan drawing define
* Remove left-over systemChat
* Remove vehiclelock from Plane, Disallow linking belt underwater, Allow checking ammo when sitting via action (was already possible via keybind), Use param for LIS
* Remove maximum distance of attachi to vehicle action
* Readd max distance, 10 meters to allow usage with big vehicles but also end placement system if too far
* 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
* Add ace_chemlights.
Make chemlight intensity and dropoff more realistic.
Add orange, white, IR chemlights.
Add chemlight shields.
Make chemlight impact sounds more realistic.
* Moved impact sound changes to a different branch.
* Used QPATHTOF. Fixed scopes. Used initServer. Reduced lifetime duration.
Checked privates.
* Stringtable: 5 minute.
* Blue lifetime. Removed ref to deprecated function
* Use proper magazine macro. Add new chemlights to Misc box.