sndseq

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
drkstr
Posts: 4
Joined: Sat Nov 04, 2017 12:33 pm

sndseq

Post by drkstr »

Hi, I have recently gotten back into editing using gzdoom builder and slade 3. Messing with door sounds have it working but have found that trying to use play soundname does not work, playrepeat playuntildone etc work just fine. Are there limitations on play that I'm not aware of or maybe deprecated ?
Thanks for any input
drkstr
Nevander
Posts: 2254
Joined: Mon Jan 06, 2014 11:32 pm

Re: sndseq

Post by Nevander »

Using "play" takes the same name as the others, at least I used the same name in my own mod and they all work. They take the logical name of the sound, not the actual lump name (unless your logical name is also the lump name but I don't do that since I stick with ZDoom's format of type/name). So here's an example:

Code: Select all

:SpawnThing
	play misc/spawnthing
	nostopcutoff
	attenuation normal
end

Return to “Scripting”