Jump to content
  • 0

Sound Cutins


Beret

Question


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

I would like to know how to put sound when a cutin is performed.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  117
  • Reputation:   18
  • Joined:  01/06/12
  • Last Seen:  

You can use this before or after introducing the cutin.

http://rathena.org/wiki/Soundeffect

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

Just a doubt did not understand much this <type> would know me explain better.

Edited by Beretinha
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  137
  • Reputation:   23
  • Joined:  06/08/12
  • Last Seen:  

EXAMPLE:

prontera,185,153,2 script 159,{

mes "

";

mes "Hey, you! What's today's secret code?";

next;

switch(select("195.:675.:723.:438.:387.:I don't know.")) {

case 1:

case 2:

case 4:

case 5:

mes "[Code Master]";

soundeffect "buzzer.wav",0;

mes "Nope, sorry! That's not the secret code! Try again next time!";

break;

case 3:

mes "[Code Master]";

soundeffect "bellding.wav",0;

mes "That's it! That's today's secret code!";

break;

case 6:

mes "[Code Master]";

mes "You don't know? Then you need to look harder!";

mes "The secret code is written on a wall nearby!";

break;

}

close;

}

ALWAYS use 0 as <Type> otherwise people might not be so happy with you :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

Thanks for the help, can close.

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...