add3DENEventHandler: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("serv...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
|arma3 | |arma3 | ||
|1.56 | |1.56 | ||
|gr1= Eden Editor | |gr1= Eden Editor | ||
|gr2= Event Handlers | |gr2= Event Handlers | ||
| Add code to be run when a [[Eden Editor]] event is triggered. | | Add code to be run when a [[Eden Editor]] event is triggered. | ||
<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] | ||
|p1= type: [[String]] | |||
|p2= code: [[Code]] | |||
| [[Number]] | |||
|x1= <code>eh = [[add3DENEventHandler]] ["onUndo",{[[systemChat]] "Zip..."}];</code> | |||
|x1= <code>eh = [[add3DENEventHandler]] ["onUndo",{[[systemChat]] "Zip..."}];</code> | |||
| | | | ||
[[remove3DENEventHandler]] | [[remove3DENEventHandler]] | ||
[[removeAll3DENEventHandlers]] | [[removeAll3DENEventHandlers]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} |
Revision as of 00:03, 18 January 2021
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
Examples
- Example 1:
eh = add3DENEventHandler ["onUndo",{systemChat "Zip..."}];
Additional Information
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
Notes