noticed a bug, I could load troops outside the zone when choosing amount. I could also load without the door was even checked.
Combined the troop drop to one message instead of multiple messages for each dropped group.
Fixed so the Engineer can remove all the items when he is building from an airdrop.
Added a function that I use, CanGetCrates, it's a check before getting it if the conditions are met.
Added small fixes where calling FindCratesNearBy would remove the units when it's called by the function RemoveCratesNearBy when it was checking the surroundings and it should ignore what is inside. In the case of C-130 and the CH-47.
Added how many crates are dropped when getting statics.
Expanded OnAfterTroopsRTB to accept chunk, ie the number of units which is returned.
* Changed startup timing slightly to allow task reloading working better
* Changed coordinate output format for INTERCEPT tasks on non A2A managers to A2A
Fixed a bug where units could still get items all though not in load zone.
Added CanGetCrates, it's a function where user can hook custom conditions.
Added CanGetUnits, same as the above.
Added CanBuildCrates, same as the first one.
Added:
OnAfrerGetCrates, Only triggers when player uses "Get"
Added:
OnAfterRemoveCratedNearBy, Only triggers when player actively uses Remove crates near by or remove units near by.
Added:
Partial load. currently, if a player land 3 crates (Farp) and want to partially load another farp, even though it can not fit, some want to load partially, this allows for it.
Player will be able to see what actually fits in the menu, but if they want, they can open the menu again, select the item, then it will say "Get" "Crates limit reached" and "Partially load"
Added:
AddStaticsCargo can now accept a last parms, UnitType, this parm will make the cargo only visible in the menu to that passed unitType.
Removed Get and Load from CH-47 for the statics if enableChinookGCLoading is enabled. This will make it less confusing, as it didn't allow players do load anything except Ground crew for statics.