DCS func removeEventHandler: Difference between revisions

From DCS World Wiki - Hoggitworld.com
m 1 revision imported
 
No edit summary
 
Line 3: Line 3:
|fName= removeEventHandler
|fName= removeEventHandler


|vNum= 1.2.4
|vNum= 1.2.0


|par1= [[DCS_singleton_world|world]]
|par1= [[DCS_singleton_world|world]]
Line 51: Line 51:
[[Category:Events|removeEventHandler]]
[[Category:Events|removeEventHandler]]
[[Category:Singleton Functions|removeEventHandler]]
[[Category:Singleton Functions|removeEventHandler]]
[[Category:Game Patch 1.2.0|removeEventHandler]]

Latest revision as of 06:58, 17 March 2022

Scripting Root

Envrioment: Mission Scripting
Function: removeEventHandler Added with: 1.2.0
Member Of: world
Syntax: function world.removeEventHandler(EventHandler handler )
Description: Removes the specified event handler from handling events. Use this when an event handler has outlived its usefulness.


Return Value: function
Return Example:
Examples:
Related Functions: World Functions: addEventHandler, removeEventHandler, getPlayer, getAirbases, searchObjects, getMarkPanels, removeJunk

world.weather getFogThickness, setFogThickness, getFogVisibilityDistance, setFogVisibilityDistance, setFogAnimation

Notes: