Problem with $random in sndinfo lump

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Deathsong12
Posts: 129
Joined: Mon Sep 05, 2005 22:31

Problem with $random in sndinfo lump

Post by Deathsong12 »

I've been playing with the sounds in M/S endlessly, looking for the problem, and I've isolated it in SNDINFO. For some reason, sounds defined with $random do not play. Did I miss something?
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

can you post the SNDINFO code you are using. I have no problem using $random.

eg

Code: Select all

$random dog/sight 		{ dog/sight1  dog/sight2  dog/sight3 }
dog/sight1  			DSDGSIT1  
dog/sight2  			DSDGSIT2 
dog/sight3  			DSDGSIT3
User avatar
Deathsong12
Posts: 129
Joined: Mon Sep 05, 2005 22:31

Post by Deathsong12 »

Aww...crap. As usual, my fault. I assumed it was

Code: Select all

$random logicalname {lumpname1 lumpname2...}
as opposed to

Code: Select all

$random logicalnamerandom {logicalname1 logicalname2...}
I have so much work to do...ACK!
Locked

Return to “Closed Bugs”