PDA

Click to See Complete Forum and Search --> : words


antlous
Jan 7th, 2000, 06:34 AM
How do I do a script that shows a word and after few seconds another word? Like first "blood" and then "skin"

Can you help me?

Fox
Jan 9th, 2000, 02:57 PM
U can use GetTickCount() from the API to get the actual time in ms. Store this value and make a loop while the pause-time is reached.
I'll show ya:

-

Public Sub PrintText( Text1 as String, Text2 as String )
Dim Temp as Long
Dim Wait as Long

Temp = GetTickCount()
Wait = 1000 'Wait for a second

Print Text1

While Temp + Wait > GetTickCount()
'Here the program is waiting
Wend

Print Text2

-

You should be able to understand this. If not, ask me again ;)



------------------
Fox