Total re-write of spawner for emplaced weapons and vehicle patrols. The
trigger loops that detect when to start or timeout a mission and when a
mission is complete were totally redone. Some functions are now done
using copies of the parrent arrays.
Added new 'reloaded' event handler to AI
Added checks for mags for vehicle mounted weapons to
GMS_fnc_vehicleMonitor so AI can reload rather than just having infinite
ammo
changed some distance to distance2D to try to solve issues with certain
mission triggers failing.
More work on modularization of GMS_fnc_missionSpawner
bugfixes for the timerliss mission spawner.
better logging information.
Old code removed.
Still needed: fix errors spawning emplaced weapons. Fix issues with
reolading weapons. Find cause of issue with corruption of key data that
causes invalid entries in the mission que. find cause of instances in
which missions dont trigger or sense a condition that should complete
the mission. Sort out reinforcements
Fixed an issue whereby the array containing mission information was not correctly updated. this was caused by the fact that simple array subtraction does not work for nested arrays, hence the kludgy fix wherein a new array is built that lacks the element to be deleted.
Added a q-5 second loop.
Moved calls to the vehicleMonitor to occur every 5 seconds in the main loop.
Fixed an issue wherein the elements for live AI and mission vehicles were not being deleted from their respective arrays after the corresponding 'vehicles' were deleted.
Depending on end users mission file structure, not execVM'ing this could stall any later listed features, so it's safer to have it as this, it won't effect server threads
Lines 114 and 114 can be compiled to save server threads, it didn't pv blck_Initialized but missions still ran as intended with 50% less server threads
Fixed various errors related to spawning multiple instances of a
mission. fixed the error with undefined variables for the setting for
spanwing map addons.
Added configuration settings so that you can disable the time
acceleration module, map addons, and static loot crate spawner.
Fixed a big in the time acceleration module.