getEventHandlerInfo: Difference between revisions
Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.10 |branch= dev |gr1= Event Handlers |descr= Queries given event handler, whether or not it exists and is last. Also returns to...") |
(No difference)
|
Revision as of 16:58, 6 July 2022
Description
- Description:
- Queries given event handler, whether or not it exists and is last. Also returns total number of event handlers assigned to the same event.
- Groups:
- Event Handlers
Syntax
- Syntax:
- object getEventHandlerInfo [type, id, mpEvent]
- Parameters:
- object: Object - entity to which EH is assigned
- type: String - event handler name
- id: Number - event handler id
- mpEvent (Optional): Boolean - use true for event handlers added with addMPEventHandler, default false
- Return Value:
- Array - in format [exists, isLast, total], where:
Examples
- Example 1:
Additional Information
- See also:
- addMissionEventHandler addEventHandler
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note