client/addons/task/XEH_PREP.hpp
Jacob Schmidt c822d4e601 feat: Implement cargo delivery task type and improve task assignment
This commit introduces a new "delivery" task type and enhances the task assignment process for various entities.

The following changes were made:

- Added `delivery` and `deliveryModule` to `XEH_PREP.hpp` for pre-processing.
- Added `GVAR(allCargo)` to `XEH_preInit.sqf` to track cargo objects.
- Implemented `delivery` case in `fnc_handler.sqf` to handle delivery tasks.
- Added `makeCargo` to `XEH_PREP.hpp` for pre-processing.
- Refactored `fnc_makeShooter.sqf`, `fnc_makeObject.sqf`, `fnc_makeTarget.sqf`, `fnc_makeHVT.sqf`, `fnc_makeHostage.sqf`, and `fnc_makeIED.sqf` to:
  - Update descriptions to reflect assignment rather than registration.
  - Add error handling for null entities and missing task IDs.
  - Add diag_log messages for debugging.
  - Standardize parameter handling.
2025-05-25 12:33:36 -05:00

25 lines
449 B
C++

PREP(attack);
PREP(attackModule);
PREP(defuse);
PREP(defuseModule);
PREP(delivery);
PREP(deliveryModule);
PREP(destroy);
PREP(destroyModule);
PREP(explosivesModule);
PREP(handler);
PREP(heartBeat);
PREP(hostage);
PREP(hostageModule);
PREP(hostagesModule);
PREP(hvt);
PREP(hvtModule);
PREP(makeCargo);
PREP(makeHostage);
PREP(makeHVT);
PREP(makeIED);
PREP(makeObject);
PREP(makeShooter);
PREP(makeTarget);
PREP(protectedModule);
PREP(shootersModule);