remove3DENEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>")
 
(37 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3dev |= Game name
|game1= arma3
|version1= 1.56


|1.52|= Game version
|gr1= Eden Editor
____________________________________________________________________________________________
|gr2= Event Handlers


| Removes Eden Editor event handler of given type and ID. |= Description
|descr= Removes Eden Editor event handler of given type and ID.
____________________________________________________________________________________________
<br><br>
See the list of all [[Arma_3:_Event_Handlers:_Eden_Editor|Eden Editor Event Handlers]].


| '''remove3DENEventHandler''' [type,id]|= Syntax
|s1= [[remove3DENEventHandler]] [type,id]
|p1= type: [[String]] - name of event handler |= PARAMETER1
|p2= id: [[Number]] - ID of event handler, returned by [[add3DENEventHandler]] |= PARAMETER2
| [[Number]] |= RETURNVALUE


|x1= <code>eh = [[add3DENEventHandler]] ["onUndo",{[[systemChat]] "Zip..."}];
|p1= type: [[String]] - name of event handler
[[remove3DENEventHandler]] ["onUndo",eh];</code>|= EXAMPLE1
|p2= id: [[Number]] - ID of event handler, returned by [[add3DENEventHandler]]
____________________________________________________________________________________________
|r1= [[Nothing]]


|
|x1= <sqf>
eh = add3DENEventHandler ["onUndo",{systemChat "Zip..."}];
remove3DENEventHandler ["onUndo",eh];
</sqf>
 
|seealso=
[[add3DENEventHandler]]
[[add3DENEventHandler]]
[[removeAll3DENEventHandlers]]
[[removeAll3DENEventHandlers]]
|= SEEALSO
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<!-- DISCONTINUE Notes -->
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Eden Editor|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11:34, 3 September 2024

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:
Eden EditorEvent Handlers

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