Druid
There are these two types at this time:
Results appear below as you type; use the arrow keys to move through them.
Command · also in Sounds · Markdown · JSON · original wiki page
Adds playMusic event handler. Returns id of the handler or -1 when failed. Like addMissionEventHandler, the music event handler is attached to the mission. See Arma 3: Event Handlers - Music Event Handlers.
addMusicEventHandler [type, function]
Parameters:
type: String - "MusicStart" or "MusicStop"
function: String or Code - passed params array is [musicClassname, eventHandlerId] where:
params ["_musicClassname", "_eventHandlerId", "_currentPosition", "_totalLength"];
Returns: Number - event handler id
private _ehID = addMusicEventHandler ["MusicStart", { hint str _this }];
private _ehID = addMusicEventHandler ["MusicStop", { hint str _this }];
removeMusicEventHandler · playMusic · removeAllMusicEventHandlers · getEventHandlerInfo
There are these two types at this time: