add3DENEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
(Added info about special variables)
 
Line 15: Line 15:


|p2= code: [[Code]]
|p2= code: [[Code]]
* Event Handler parameters are accessible via <sqf inline>_this</sqf>
* The Event Handler type is available as <sqf inline>_thisEvent</sqf>
* The Event Handler index is available as <sqf inline>_thisEventHandler</sqf>


|r1= [[Number]]
|r1= [[Number]]

Latest revision as of 12:49, 10 March 2024

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