SRL Archive - Help

how to setup random tool


nickivey

2011-12-21 15:01:10

i want to be able to watch tv and hear the alert if i get a random
how do i add it to a script

Sabzi

2011-12-21 15:06:41

http://villavu.com/forum/showthread.php?t=48538
This should help, I think.

YoHoJo

2011-12-21 15:07:10

Wrong section.
This is for GUIDES, not questions.
Moved.

nickivey

2011-12-21 15:11:30

From: YoHoJo
Wrong section.
This is for GUIDES, not questions.
Moved.


im sorry thanks though
i just thought it was a noob question

From: Sabzi
http://villavu.com/forum/showthread.php?t=48538
This should help, I think.


i know but were do i make the path for the sound


Thank You!!!

YoHoJo

2011-12-21 15:17:46

Don't double post please.
You can set the path parameter as
ScriptPath+'Alert.wav'
Here is a sound you can use, attached it to my post.
Extract that to exact same folder the script is in.

SetupRandomTool(60000, VK_F1, ScriptPath+'Alert.wav) 
I THINK is correct, not 100% sure about VK_F1 parameter though.

Basically it will play sound, give you 60 seconds to solve random, and you press F1 when you are either done/want script to control again.