ACE3/addons/disposable/XEH_postInitClient.sqf

10 lines
350 B
Plaintext
Raw Normal View History

2015-01-13 19:12:37 +00:00
// by commy2
// The Arma InventoryOpened EH fires actually before the inventory dialog is opened (findDisplay 602 => displayNull).
#include "script_component.hpp"
["inventoryDisplayLoaded",{
2015-04-16 17:36:12 +00:00
[ACE_player] call FUNC(takeLoadedATWeapon);
[ACE_player, (_this select 0)] call FUNC(updateInventoryDisplay);
}] call EFUNC(common,addEventHandler);