Hi, I need it so that it plays the ancient protector attack sound multiple times really quickly as a 3d sound. The problem is, it is playing the sound every time the sound ends instead of "stacking" the sound effect. Can anyone help?
You can't stack the same sound. You need different sounds to be able to stack. So if you want the same sound effect to be stacked, then you need copies of that sound effect for however many would be playing at the same time.
For example:
If the length of the sound effect is 1 second, and you want it to play every 0.2 seconds, that means you need 5 sounds to be stacking at the same time
So you would need to import 4 copies of that sound and then play them each one after another, and then you can repeat with the original (after it would stop playing).
Although in this case, you might only need 4 total since by the time the 5th one would start, the first one would be ending....but that is something you could test.
One thing I need to check myself is if you can just create extra variables of the same sound, or if you actually need to have copies IMPORTED in...
EDIT: I just tested it out, and it turns out you DO NOT need to import additional copies, but only make copies of the sound as extra variables. That's good since it won't increase file size then
common.j provided some function to achieve this goal, then I write a custom function.
Now you can use the function at the bottom to achieve your goal (though this is 2D audio):
function JustAnotherPlaySound takes string soundName, real volumePercent, real pitch returns nothing
local sound soundHandle = CreateSound(soundName, false, false, true, 12700, 12700, "")
call SetSoundVolumeBJ(soundHandle, volumePercent)
call SetSoundPitch(soundHandle, pitch)
// Set Volume or Pitch after StartSound is invalid for current playing sound.
call StartSound(soundHandle)
call KillSoundWhenDone(soundHandle)
set bj_lastPlayedSound = soundHandle
endfunction
Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
@tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart