add3DENEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


|arma3|Game name=
|arma3|Game name=
Line 8: Line 7:
|gr1= Eden Editor |GROUP1=
|gr1= Eden Editor |GROUP1=
|gr2= Event Handlers |GROUP2=
|gr2= Event Handlers |GROUP2=
____________________________________________________________________________________________


| Add code to be run when a [[Eden Editor]] event is triggered.
| Add code to be run when a [[Eden Editor]] event is triggered.
Line 14: Line 12:
See the list of all [[Arma_3:_Event_Handlers:_Eden_Editor|Eden Editor Event Handlers]].
See the list of all [[Arma_3:_Event_Handlers:_Eden_Editor|Eden Editor Event Handlers]].
|DESCRIPTION=
|DESCRIPTION=
____________________________________________________________________________________________


| '''add3DENEventHandler''' [type,code]|SYNTAX=
| '''add3DENEventHandler''' [type,code]|SYNTAX=
Line 24: Line 21:


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


|  
|  
Line 31: Line 27:
|SEEALSO=  
|SEEALSO=  
|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 00:09, 17 January 2021

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:
Eden EditorEvent Handlers

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