remove3DENEventHandler: Difference between revisions

From Bohemia Interactive Community
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 |= PARAMETER1
|p1= type: [[String]] - name of event handler |PARAMETER1=
|p2= id: [[Number]] - ID of event handler, returned by [[add3DENEventHandler]] |= PARAMETER2
|p2= id: [[Number]] - ID of event handler, returned by [[add3DENEventHandler]] |PARAMETER2=
| [[Nothing]] |= RETURNVALUE
| [[Nothing]] |RETURNVALUE=  


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


Line 25: Line 25:
[[add3DENEventHandler]]
[[add3DENEventHandler]]
[[removeAll3DENEventHandlers]]
[[removeAll3DENEventHandlers]]
|= SEEALSO
|SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:36, 7 April 2019

Hover & click on the images for description

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

See also:
add3DENEventHandler 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

Notes


Bottom Section