Jump to content
  • 0
Sign in to follow this  
Easycore

Example of clif->soundeffect

Question

4 answers to this question

Recommended Posts

  • 0

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.

Edited by Easycore

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.