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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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