Easycore 31 Posted August 31, 2015 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~ Quote Share this post Link to post Share on other sites
0 Garr 117 Posted August 31, 2015 Check soundeffect command in script.c Quote Share this post Link to post Share on other sites
0 Easycore 31 Posted September 1, 2015 Check soundeffect command in script.c Thanks but I want only an example of this function By the way, I already saw script.c... and so? Quote Share this post Link to post Share on other sites
0 Garr 117 Posted September 1, 2015 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. 1 Easycore reacted to this Quote Share this post Link to post Share on other sites
0 Easycore 31 Posted September 1, 2015 (edited) 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 September 1, 2015 by Easycore Quote Share this post Link to post Share on other sites
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~
Share this post
Link to post
Share on other sites