getEventHandlerInfo: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 24: | Line 24: | ||
|s2= | |s2= [[getEventHandlerInfo]] [type, id] | ||
|p21= | |p21= type: [[String]] - event handler name | ||
|p22 | |p22= id: [[Number]] - event handler id returned by [[addMissionEventHandler]] or [[addMusicEventHandler]] | ||
|r2= [[Array]] - see description | |r2= [[Array]] - see description |
Revision as of 18:23, 7 July 2022
Description
- Description:
- Queries given event handler and returns Array in format [exists, isLast, total] or empty array [], where:
- Groups:
- Event Handlers
Syntax
- Syntax:
- object getEventHandlerInfo [type, id]
- Parameters:
- object: Object - entity to which event handler is assigned
- type: String - event handler name
- id: Number - event handler id returned by addEventHandler or addMPEventHandler
- Return Value:
- Array - see description
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 - see description
Examples
- Example 1:
- Example 2:
Additional Information
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