Arma 3
Hellbourne May 4, 2018 @ 3:31pm
Playing music from a helicopter for all players to hear?
As the title says i am looking for a way to get Ai Helicopters to play music using the playSound3D function but selecting tracks at random i want to be able to hear it while in a defined heli and hear it from a heli as they fly over/away please be detailed in your tutorial i am very new to scripting... PS i have used the say3d function but it does not achieve what i want i want all players to hear it and i want more than one track to be played... thanks in advance guys!
< >
Showing 1-6 of 6 comments
B✪✪tsy May 4, 2018 @ 6:33pm 
Music will be muted (more or less) in the helicopter (1st person view). Only in 3rd person view you can get music hearable while stting inside a vehicle. So I would not bother with it.
Hellbourne May 4, 2018 @ 7:05pm 
Wrong i have acheived this with say3d i want to achieve it with playsound3d
IM SORRY BUFFALO May 4, 2018 @ 7:18pm 
idk if playSound3d is global or local so ill show both examples.

this creates a function with an array with the paths to multiple music files(change the paths to whatever music files you have including their names, below is just an example. then it selects a random track from the array and uses it inside playSound3d on the location of the heli(change heliName to your heli's name). then it calls the function so it starts, you would run this on the server(again, idk if the playSound3D command is local or global, if its local then you need to use the second script below this one(remoteExec)).
heliMusicFnc = { _selectTrack = random ["A3\Sounds_F\sfx\blip1.wav", "A3\Sounds_F\sfx\blip2.wav", "A3\Sounds_F\sfx\blip3.wav"]; playSound3D [_selectTrack, heliName]; }; call heliMusicFnc;

this does the exact same thing as above but it globally executes on everybodys clients and join in progress players by using remoteExec.
heliMusicFnc = { _selectTrack = random ["A3\Sounds_F\sfx\blip1.wav", "A3\Sounds_F\sfx\blip2.wav", "A3\Sounds_F\sfx\blip3.wav"]; playSound3D [_selectTrack, heliName]; }; remoteExec ["heliMusicFnc", 0, true];
Kiri Otoru May 5, 2018 @ 3:32am 
check the helicopter pilot action menu in Unsung.
Problem is, you cannot stop themusic if you started it.
MrMessy187 May 8, 2018 @ 4:49pm 
hey,

problem i found is that when ever a sound is played using any of the sound functions, they do not
follow the entity that created them, meaning if you start a sound from a heli position or a entity within the heli when the heli moves the sound does not move with it.. it stays at the position it was triggered.. :/
Hellbourne May 9, 2018 @ 12:04am 
What about playing inside the Heli for all players to hear?
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: May 4, 2018 @ 3:31pm
Posts: 6