add3DENEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2")
Line 12: Line 12:
|s1= [[add3DENEventHandler]]  [type, code]
|s1= [[add3DENEventHandler]]  [type, code]


|p1= type: [[String]] - See [[Arma 3: Event Handlers: Eden Editor|Eden Editor Event Handler]]
|p1= type: [[String]] - see [[Arma 3: Event Handlers: Eden Editor|Eden Editor Event Handler]]


|p2= code: [[Code]]
|p2= code: [[Code]]

Revision as of 15:49, 8 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:
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