* Convert ACE_settings to CBA_settings
* Run Modules Globaly, BWC for SetSetting
* Add support for string settings
* ACE_ServerSettings warning
* Add handler for global setting being changed
* Add deprecated and replaced not to Settings Framework doc
* Remove options menu UI, Move Debug and HeadBug Fix to Options in Pause Menu
* Change modules scope to 1
* Disable debug
* Fix Magazine Repack underwater - fix#5513
Also prevent common goKneeling function underwater
* Fix loading patients underwater - fix#5515
* Fix load object underwater
* Fix take nozzle on jerry can underwater
* Fix refuel underwater conditions further
* Use isTouchingGround, Make refuel semi-compatible
reports false if head is out of the water, we want true even if we are not diving
* Less interact exceptions duplication
* Use animationState to determine if unit is swimming, create common function and use it instead of isTouchingGround
* Fix condition
* Support dragging underwater
No carrying due to animation timing issues and other misc things
* Allow Medical Legs SelfActions underwater
* Fix fixPosition function underwater (use getPosATL instead of getPos)
* Fix fixPosition's slope adjustment for non-gravity objects, Do the same for objects without simulation as well
* Add load in child actions to medical & captive
* Add actions with proper structure
* Move vehicles actions code to common function
* Simplify code in config, Fix docs
* Remove unused vars
* Fix header example
* Add _distance param to fnc_nearestVehiclesFreeSeat
* Change docs
* Fix spacing
* Add removeCargoItem function to cargo module
* Fix documentation typos
* Fix header 'public' field
Of course it's a public function, that's the whole point!
* Fix spelling
* Add missing then command
* Work better with objects
* After-test fixes
* Also update wiki
* Overhaul
* Make the event more robust
* Fix logic & shorten docs
- Add a ace_cargo_space attribute to vehicles to alter how much cargo they can carry.
- Add an ace_cargo_size attribute to objects to alter how much cargo space they consume.
- Add two public functions `fnc_setSize.sqf` and `fnc_setSpace.sqf` to update the cargo size/space respectively of any given object.
- Deprecate cargo makeLoadable module and public function.
- Added some macros to get the space/size of a config, making code more readable in places.
* Add submenu with vehicles to cargo load menu
* replace private ARRAY with keyword
* fix ace function macro using
* filter vehicles without cargo
* add Load condition, clean params, fix param reusing
* replace nearEntities with nearestObjects, add macro
* optimize, del magic, replace count with forEach
* del unused functions
* del useless _this parameter
* Add coef
* Show cargo paradrop time in menu
* Unary command, not a function call
* If drop time is 0 don't show a progress bar
* Add the setting to cargo's editor module
* Swap values
* Remove extra comma
* Move unload message to paradrop event
This way the message will show up on all paradrops, not just immidiate
ones.
* 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
Allows cargo objects to be added via classname and reduces simulation/synchronization overhead. Objects become physical upon unloading and cannot be re-made virtual, only scripts can add such virtual objects.
Also separates the player feedback from the loading/unloading code and adds a progress bar.
Fix that findNearestVehicle dont return any time the nearest car
Small Performance Improvement in getSizeItem/handleDestroyed/startUnload
Enhance Some legibility