I have an airplane in my map that once activated flies by and Drops an obj by a parachute. Now I want an airplane Sound coming with the airplane. the Sound of the parachute works but the airplane Sound doesn’t here an extraction of the script. maybe someone knows ahere the bug is. Prefab is originally from RayBan btw. I also added a voive announcement “airplane Sound should come” which is executed correctly. so the Sound should come. I also tested the Sound in another script section and it Plays there nice. so it’s not that the Sound just doesn’t work
airdrop1
{
spawn
{
wait 100
}
trigger activate
{
trigger airplane1 start_fly
wait 200 trigger airplane1 start_sound wm_announce "sound airplane should come"}
trigger drop_obj
{
setstate box_obj1 default
setstate chute1 default
trigger box_obj1 drop
trigger chute1 chute_control
}
}
airplane1
{
spawn
{
wait 400
followspline 0 plane1_setup 50000 length 32 wait
}
trigger start_fly
{
followspline 0 pspline_start 500 wait length 32
trigger self drop_obj
}
trigger drop_obj
{
trigger airdrop1 drop_obj
followspline 0 pspline_drop 500 wait length 32
remove // no need for a plane after this… so we get rid of it
}trigger start_sound
{
stopsound
playsound sound/vo/teuthonia/plane.wav volume 10000 //sound of airplane
}
trigger stop_sound
{
stopsound
}
}