sndinfo help
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
- chaoscentral
- Posts: 677
- Joined: Sun Feb 27, 2005 4:32 pm
- Location: Revere, MA
- Contact:
sndinfo help
ok, here is my problem. How do you make a sound play a random sound out of a group. I have read the wiki and still I'm not sure about the format. Can someone give me a simple example, that is NOT in the wiki. Thanks in advance
A simple example. This makes the sound entry "armour/sight" use one of two sounds randomly.
Same principle, just a lot more sounds to choose from
Code: Select all
$random armour/sight { armour/sight1 armour/sight2 }
armour/sight1 dsarm1
armour/sight2 dsarm2
Code: Select all
$random work/sight { work/sight1 work/sight2 work/sight3 work/sight4 work/sight5 work/sight6 work/sight7 work/sight8 work/sight9 work/sighta work/sightb work/sightc work/sightd work/sighte work/sightf work/sightg work/sighth work/sighti work/sightj work/sightk }
work/sight1 DSWOSIT1
work/sight2 DSWOSIT2
work/sight3 DSWOSIT3
work/sight4 DSWOSIT4
work/sight5 DSWOSIT5
work/sight6 DSWOSIT6
work/sight7 DSWOSIT7
work/sight8 DSWOSIT8
work/sight9 DSWOSIT9
work/sighta DSWOSITA
work/sightb DSWOSITB
work/sightc DSWOSITC
work/sightd DSWOSITD
work/sighte DSWOSITE
work/sightf DSWOSITF
work/sightg DSWOSITG
work/sighth DSWOSITH
work/sighti DSWOSITI
work/sightj DSWOSITJ
work/sightk DSWOSITK
- chaoscentral
- Posts: 677
- Joined: Sun Feb 27, 2005 4:32 pm
- Location: Revere, MA
- Contact: