add3DENEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2")
m (Some wiki formatting)
Line 18: Line 18:
|r1= [[Number]]
|r1= [[Number]]


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


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

Revision as of 18:36, 14 November 2023

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:
private _ehID = 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