ACE3/addons/disposable/XEH_postInit.sqf

12 lines
414 B
Plaintext
Raw Normal View History

2015-04-17 10:28:06 +00:00
// by commy2
#include "script_component.hpp"
if (!hasInterface) exitWith {};
["inventoryDisplayLoaded", {[ACE_player, _this select 0] call FUNC(updateInventoryDisplay)}] call EFUNC(common,addEventHandler);
["playerInventoryChanged", {
2015-08-09 03:25:19 +00:00
params ["_unit"];
[_unit, _this select 1 select 11] call FUNC(takeLoadedATWeapon);
[_unit] call FUNC(updateInventoryDisplay);
2015-04-17 10:28:06 +00:00
}] call EFUNC(common,addEventHandler);