displaySetEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|DISPLAYSETEVENTHANDLER]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|DISPLAYSETEVENTHANDLER]]
____________________________________________________________________________________________
 
| arma |= Game name


|2.54|= Game version
____________________________________________________________________________________________


<h2 style="color:#000066">'''''display'' displaySetEventHandler ''[handler name, function]'''''</h2>
| Sets given event handler of given display. |= Description
____________________________________________________________________________________________


| display '''displaySetEventHandler''' [handler name, function] |= Syntax


'''Operand types:'''
|p1= display [[Display]] |= Parameter 1


'''display''': [[Display]]
|p2= [handler name, function] [[Array]] |= Parameter 2
   
'''[handler name, function]''': [[Array]]


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_control displaySetEventHandler ["KeyDown", ""]</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 2.54 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''


Sets given event handler of given display.
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>


'''Example''':
[[Category:Scripting Commands|DISPLAYSETEVENTHANDLER]]
   
[[Category:Scripting Commands ArmA|DISPLAYSETEVENTHANDLER]]
_control '''displaySetEventHandler''' ["KeyDown", ""]

Revision as of 23:47, 1 August 2006

-wrong parameter ("Arma") defined!-2.54
Hover & click on the images for description

Description

Description:
Sets given event handler of given display.
Groups:
Uncategorised

Syntax

Syntax:
display displaySetEventHandler [handler name, function]
Parameters:
display Display
[handler name, function] Array
Return Value:
Nothing

Examples

Example 1:
_control displaySetEventHandler ["KeyDown", ""]

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