Example of clif->soundeffect

Easycore

New member
Messages
184
Points
0
Hi,

anybody can give me an example of clif->soundeffect (That all players in area listening this)?

I tried use this for a skill

Regards~

 
Check soundeffect command in script.c
Thanks but I want only an example of this function
default_smile.png


By the way, I already saw script.c... and so?

 
But there is an example of how clif->soundeffect is used O_o

clif->soundeffect(<session data of who you send it to>, <source block list>, <name of file to play relative to datawav>, 0 <type, stands for play once, iirc other types except 0 do not work>)

What exactly do you mean by "example" then? If you want to use it as skill sound with area you'll be better off using clif->soundeffectall btw.

 
But there is an example of how clif->soundeffect is used O_o

clif->soundeffect(<session data of who you send it to>, <source block list>, <name of file to play relative to datawav>, 0 <type, stands for play once, iirc other types except 0 do not work>)

What exactly do you mean by "example" then? If you want to use it as skill sound with area you'll be better off using clif->soundeffectall btw.
I tried use "clif->soundeffectall(src,"leaf_cat_die.wav", type, AREA);"

but this isn't listening

EDIT:

"clif->soundeffectall(src,"leaf_cat_die.wav", type, AREA);" works, only I inserted this wrong.

 
Last edited by a moderator:
Back
Top