add3DENEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {3,}\|" to " |")
m (Text replacement - " {2,}\}\}" to " }}")
Line 23: Line 23:
[[remove3DENEventHandler]]
[[remove3DENEventHandler]]
[[removeAll3DENEventHandlers]]
[[removeAll3DENEventHandlers]]
}}
}}



Revision as of 23:12, 18 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