From 5b06a1f88280d45624da86debe0ff5b2b3818952 Mon Sep 17 00:00:00 2001 From: Zman6258 Date: Tue, 6 Sep 2022 16:20:44 -0400 Subject: [PATCH] Docs/Cargo - Include missing "unload type" param (#9010) * Docs/Cargo - Include missing "unload type" param There's a LOT of pages that are still missing documentation on listenable events entirely, maybe I'll get around to fixing that at some point. * Update events-framework.md Co-authored-by: PabstMirror --- docs/wiki/framework/cargo-framework.md | 2 +- docs/wiki/framework/events-framework.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/wiki/framework/cargo-framework.md b/docs/wiki/framework/cargo-framework.md index 5b02f087be..5f8a5e8c8c 100644 --- a/docs/wiki/framework/cargo-framework.md +++ b/docs/wiki/framework/cargo-framework.md @@ -51,7 +51,7 @@ class CfgVehicles { Event Name | Passed Parameter(s) | Locality | Description ---------- | ----------- | ------------------- | -------- `ace_cargoLoaded` | [_item, _vehicle] | Global | Cargo has been Loaded into vehicle -`ace_cargoUnloaded` | [_item, _vehicle] | Global | Cargo has been Unloaded from vehicle +`ace_cargoUnloaded` | [_item, _vehicle, _unloadType] | Global | Cargo has been Unloaded from vehicle `ace_cargoRemoved` | [_itemClass, _vehicle, _amountRequested, _amountRemoved] | Global | Cargo has been removed (deleted) from vehicle ## 3. Editor Attributes diff --git a/docs/wiki/framework/events-framework.md b/docs/wiki/framework/events-framework.md index 706ffeea72..f7f495fb4c 100644 --- a/docs/wiki/framework/events-framework.md +++ b/docs/wiki/framework/events-framework.md @@ -57,7 +57,7 @@ MenuType: 0 = Interaction, 1 = Self Interaction |----------|---------|---------|---------|---------|---------| |`ace_addCargo` | [_item (CLASSNAME or OBJECT), _vehicle, _cargoCount] | Target | Callable | Scripted way to add cargo to vehicle |`ace_cargoLoaded` | [_item, _vehicle] | Global | Listen | Cargo has been Loaded into vehicle -|`ace_cargoUnloaded` | [_item, _vehicle] | Global | Listen | Cargo has been Unloaded from vehicle +|`ace_cargoUnloaded` | [_item, _vehicle, _unloadType] | Global | Listen | Cargo has been Unloaded from vehicle ### 2.5 Captives (`ace_captives`)