add3DENEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <!-- DISCONTINUE Notes -->" to "")
m (Text replacement - " {3,}\|" to " |")
Line 11: Line 11:
<br><br>
<br><br>
See the list of all [[Arma_3:_Event_Handlers:_Eden_Editor|Eden Editor Event Handlers]].
See the list of all [[Arma_3:_Event_Handlers:_Eden_Editor|Eden Editor Event Handlers]].


| '''add3DENEventHandler''' [type,code]
| '''add3DENEventHandler''' [type,code]
Line 18: Line 17:


| [[Number]]
| [[Number]]


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

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