removeMusicEventHandler: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 9: | Line 9: | ||
|gr2= Sounds | |gr2= Sounds | ||
| Removes specified music track event handler. | |descr= Removes specified music track event handler. | ||
|s1= [[removeMusicEventHandler]] [type, id] | |s1= [[removeMusicEventHandler]] [type, id] |
Revision as of 21:17, 13 June 2021
Description
- Description:
- Removes specified music track event handler.
- Groups:
- Event HandlersSounds
Syntax
- Syntax:
- removeMusicEventHandler [type, id]
- Parameters:
- [type, id]: Array
- type: String - "MusicStart" or "MusicStop"
- id: Number - event handler id
- Return Value:
- Nothing
Examples
- Example 1:
removeMusicEventHandler ["MusicStart", 12];
- Example 2:
removeMusicEventHandler ["MusicStop", 12];
- Example 3:
hnd_stop = addMusicEventHandler ["MusicStop",{}]; removeMusicEventHandler ["MusicStop",hnd_stop];
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