getEventHandlerInfo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Killzone Kid (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
|descr= Queries given event handler's information. | |descr= Queries given event handler's information. | ||
|s1= | |s1= oper [[getEventHandlerInfo]] [type, id] | ||
|p1= | |p1= oper: [[Object]], [[Group]], [[Control]] or [[Display]] - subject to which event handler is assigned | ||
|p2= type: [[String]] - event handler name | |p2= type: [[String]] - event handler name |
Revision as of 08:02, 21 July 2022
Description
- Description:
- Queries given event handler's information.
- Groups:
- Event Handlers
Syntax
- Syntax:
- oper getEventHandlerInfo [type, id]
- Parameters:
- oper: Object, Group, Control or Display - subject to which event handler is assigned
- type: String - event handler name
- id: Number - event handler id returned by addEventHandler, ctrlAddEventHandler, displayAddEventHandler, or addMPEventHandler
- Return Value:
- Array in format [exists, isLast, total] or empty array [], where:
Alternative Syntax
- Syntax:
- getEventHandlerInfo [type, id]
- Parameters:
- type: String - event handler name
- id: Number - event handler id returned by addMissionEventHandler or addMusicEventHandler
- Return Value:
- Array in format [exists, isLast, total] or empty array [], where:
Examples
- Example 1:
- Example 2:
- Example 3:
- Example 4:
- Example 5:
Additional Information
- See also:
- addEventHandler ctrlAddEventHandler displayAddEventHandler addMPEventHandler addMissionEventHandler addMusicEventHandler
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note