ACE3/addons/explosives/XEH_missionDisplayLoad.sqf

7 lines
267 B
Plaintext
Raw Permalink Normal View History

#include "script_component.hpp"
params ["_display"];
_display displayAddEventHandler ["MouseZChanged", {(_this select 1) call FUNC(handleScrollWheel)}];
_display displayAddEventHandler ["MouseButtonDown", {[ACE_player, _this select 1] call FUNC(cancelPlacement)}];