editorSetEventHandler: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1= Game 2 Editor | |gr1= Game 2 Editor | ||
|gr2= Event Handlers | |gr2= Event Handlers | ||
| Sets given event handler of given editor. | | Sets given event handler of given editor. | ||
{{Informative | Some Old Editor Command}} | {{Informative | Some Old Editor Command}} | ||
| map '''editorSetEventHandler''' [handler name,function] | | map '''editorSetEventHandler''' [handler name,function] | ||
|p1= map: [[Control]] - | |p1= map: [[Control]] - | ||
|p2= [handler name,function]: [[Array]] - | |p2= [handler name,function]: [[Array]] - | ||
|p3 | |p3= | ||
| Nothing | | Nothing | ||
|x1= <code>_map [[editorSetEventHandler]] ["SelectObject",""];</code> | |x1= <code>_map [[editorSetEventHandler]] ["SelectObject",""];</code> | ||
| - | | - | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:34, 18 January 2021
Description
- Description:
- Sets given event handler of given editor.
- Groups:
- Game 2 EditorEvent Handlers
Syntax
- Syntax:
- map editorSetEventHandler [handler name,function]
- Parameters:
- map: Control -
- [handler name,function]: Array -
- Return Value:
- Nothing
Examples
- Example 1:
_map editorSetEventHandler ["SelectObject",""];
Additional Information
- See also:
- -
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