add3DENEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 18: Line 18:
|r1= [[Number]]
|r1= [[Number]]


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


|seealso= [[remove3DENEventHandler]] [[removeAll3DENEventHandlers]]
|seealso= [[remove3DENEventHandler]] [[removeAll3DENEventHandlers]]
}}
}}

Revision as of 11:01, 12 May 2022

Hover & click on the images for description

Description

Description:
Adds an Eden Editor Event Handler.
Groups:
Eden EditorEvent Handlers

Syntax

Syntax:
add3DENEventHandler [type, code]
Parameters:
type: String - See Eden Editor Event Handler
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