remove3DENEventHandler: Difference between revisions
Jump to navigation
Jump to search
m (1.56) |
m (template:command argument fix) |
||
Line 14: | Line 14: | ||
| '''remove3DENEventHandler''' [type,id]|= Syntax | | '''remove3DENEventHandler''' [type,id]|= Syntax | ||
|p1= type: [[String]] - name of event handler |= | |p1= type: [[String]] - name of event handler |PARAMETER1= | ||
|p2= id: [[Number]] - ID of event handler, returned by [[add3DENEventHandler]] |= | |p2= id: [[Number]] - ID of event handler, returned by [[add3DENEventHandler]] |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>eh = [[add3DENEventHandler]] ["onUndo",{[[systemChat]] "Zip..."}]; | |x1= <code>eh = [[add3DENEventHandler]] ["onUndo",{[[systemChat]] "Zip..."}]; | ||
[[remove3DENEventHandler]] ["onUndo",eh];</code>|= | [[remove3DENEventHandler]] ["onUndo",eh];</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 25: | Line 25: | ||
[[add3DENEventHandler]] | [[add3DENEventHandler]] | ||
[[removeAll3DENEventHandlers]] | [[removeAll3DENEventHandlers]] | ||
|= | |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:36, 7 April 2019
Description
- Description:
- Removes Eden Editor event handler of given type and ID.
See the list of all Eden Editor Event Handlers. - Groups:
- Uncategorised
Syntax
- Syntax:
- remove3DENEventHandler [type,id]
- Parameters:
- type: String - name of event handler
- id: Number - ID of event handler, returned by add3DENEventHandler
- Return Value:
- Nothing
Examples
- Example 1:
eh = add3DENEventHandler ["onUndo",{systemChat "Zip..."}]; remove3DENEventHandler ["onUndo",eh];
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