ID:140420
 
Code:
mob
verb
powerup()
set name = "Power Up"
set category = "Fighting"
if(usr.stamina>5)
if(poweringup==0)
usr.poweringup=1
oview(2) << 'powerup.WAV'


Problem description:

When i execute this verb i dont hear anything.Is there some kind of volume control that i am unaware of?
Read up oview() (hint: it's different from view() because it excludes something)
In response to GhostAnime
Also, don't you need to use the sound() proc?
In response to Immibis
Immibis wrote:
Also, don't you need to use the sound() proc?

Only if you want to adjust the sound's variables before sending it to the player. Its not required.
In response to Immibis
No. You only need it or a /sound object if you want to use non-default values for parameters like channel, volume...
edit: got snipped!
In response to GhostAnime
GhostAnime wrote:
Read up oview() (hint: it's different from view() because it excludes something)

OoOooO i forgot oview only sends it out to everyone in sight of usr but usr itself.