|
Timers - having them trigger sound files
|
Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Atomicoctobot
(19 posts) bio
|
| Date |
Thu 09 Aug 2007 08:02 PM (UTC) [ quote
] |
| Message |
Hi,
I haven't been able to work out how, if possible, to cause timers to trigger sounds without sending anything to the mud I'm connected to. The rules of my mud state that nothing can be set up so that commands are sent through triggers and such so I need the timer to work completely internally.
Is there any way to do this?
Thanks. | top |
|
| Posted by |
Shaun Biggs
USA (644 posts) bio
|
| Date |
Reply #1 on Thu 09 Aug 2007 08:07 PM (UTC) [ quote
] |
| Message |
| Just send to script and have it play a file through the Sound function. For example, with Lua, you would have: Sound("soundfile.wav") in the send box. |
It is much easier to fight for one's ideals than to live up to them. | top |
|
| Posted by |
Atomicoctobot
(19 posts) bio
|
| Date |
Reply #2 on Thu 09 Aug 2007 08:15 PM (UTC) [ quote
] |
| Message |
| Could you possibly walk me through it? I'm entirely confused. | top |
|
| Posted by |
Shaun Biggs
USA (644 posts) bio
|
| Date |
Reply #3 on Thu 09 Aug 2007 08:37 PM (UTC) [ quote
] |
| Message |
| umm... I pretty much just did walk you through it... open up the timer with ctrl-shft-0 then set the timer to whatever interval you need. Then put Sound("soundfilename.wav") in the send field. Next, look just below that for the "send to" drop box, and set that to "script". You should be set at that point. |
It is much easier to fight for one's ideals than to live up to them. | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
1,695 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )