Warning: file_put_contents(/ff_1a08f7290967116cea5e6d205e31c62a39f1fa62f57e711f.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
addMusicEventHandler - OFPEC Scripting Command Reference | OFPEC The Editing Center

addMusicEventHandler [type, function]

Operand types

[type, function]: Array

Type of returned value

Description

Add music track event handler.
Returns id of the handler or -1 when failed.

Possible types:

  • "MusicStart"

  • "MusicStop"

Used In

Arma3

Example

_ehID = addMusicEventHandler ["MusicStart", {hint str _this}];

_ehID = addMusicEventHandler ["MusicStop", {hint str _this}];

Advertisement