mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
10 lines
350 B
Plaintext
10 lines
350 B
Plaintext
// by commy2
|
|
|
|
// The Arma InventoryOpened EH fires actually before the inventory dialog is opened (findDisplay 602 => displayNull).
|
|
|
|
#include "script_component.hpp"
|
|
|
|
["inventoryDisplayLoaded",{
|
|
[ACE_player] call FUNC(takeLoadedATWeapon);
|
|
[ACE_player, (_this select 0)] call FUNC(updateInventoryDisplay);
|
|
}] call EFUNC(common,addEventHandler); |