add3DENEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 94514 by shukari on 2016-02-22T07:04:22Z)
m (template:command argument fix)
Line 14: Line 14:


| '''add3DENEventHandler''' [type,code]|= Syntax
| '''add3DENEventHandler''' [type,code]|= Syntax
|p1= type: [[String]]  |= PARAMETER1
|p1= type: [[String]]  |PARAMETER1=
|p2= code: [[Code]]  |= PARAMETER2
|p2= code: [[Code]]  |PARAMETER2=


| [[Number]] |= RETURNVALUE
| [[Number]] |RETURNVALUE=  




|x1= <code>eh = [[add3DENEventHandler]] ["onUndo",{[[systemChat]] "Zip..."}];</code>|= EXAMPLE1
|x1= <code>eh = [[add3DENEventHandler]] ["onUndo",{[[systemChat]] "Zip..."}];</code>|EXAMPLE1=  
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 26: Line 26:
[[remove3DENEventHandler]]
[[remove3DENEventHandler]]
[[removeAll3DENEventHandlers]]
[[removeAll3DENEventHandlers]]
|= SEEALSO
|SEEALSO=  
|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 11:28, 7 April 2019

Hover & click on the images for description

Description

Description:
Add code to be run when a Eden Editor event is triggered.

See the list of all Eden Editor Event Handlers.
Groups:
Uncategorised

Syntax

Syntax:
add3DENEventHandler [type,code]
Parameters:
type: String
code: Code
Return Value:
Number

Examples

Example 1:
eh = add3DENEventHandler ["onUndo",{systemChat "Zip..."}];

Additional Information

See also:
remove3DENEventHandler removeAll3DENEventHandlers

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