Adds an event handler with arguments.
Additional arguments are passed as _thisArgs. The ID is passed as _thisID.
| _object | Thing to attach event handler to. <OBJECT, CONTROL, DISPLAY> |
| _type | Event handler type. STRING |
| _function | Function to add to event. <CODE> |
| _arguments | Arguments to pass to event handler. <Any> |
| _id | The ID of the event handler. Same as _thisID <NUMBER> |
// one time fired event handler that removes itself
_id = [player, "fired", {systemChat _thisArgs; player removeEventHandler ["fired", _thisID]}, "bananas"] call CBA_fnc_addBISEventHandler;commy2