addMissionEventHandler

From Bohemia Interactive Community
Revision as of 17:20, 3 March 2013 by DarkDruid (talk | contribs) (Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |0.50|= Game version ____________________...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Adds mission event handler. Every event will create an array named _this, which contains specific information about the particular event.
Groups:
Uncategorised

Syntax

Syntax:
addMissionEventHandler [type, command]
Parameters:
[type, command]: Array
type: String
command: Code or String
Return Value:
Number - The index of the currently added mission event handler is returned.

Examples

Example 1:
_id = addMissionEventHandler ["ended",{_this exec "missionEnded.sqs"}];

Additional Information

See also:
See also needed

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

Notes

Bottom Section