Show the most recent posts.
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Subscribe to RSS feeds from ScriptUO with this
LINK
Home
Help
Search
Posts
Recents
Tags
Calendar
Links
Discord
Dantes Inferno
Login
Register
ScriptUO
»
Official ScriptUO EasyUO Scripts
»
Scripting Chat
»
Simple Timer
Add to Reputation:
What do you think of this post?
I agree
I disagree
Comment:
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Simple Timer (Read 3266 times)
0 Members and 1 Guest are viewing this topic.
declo
Jr. Member
Posts: 90
Activity:
0%
Reputation Power: 2
Respect:
+21
Referrals: 1
Simple Timer
«
on:
April 22, 2015, 06:05:50 PM »
0
For what ever reason, I can't wrap my mind around how to use #time to make a simple timer that can execute after 30, 40 or 60 seconds.
Any help for this old mind would be very appreciated.
Logged
manwinc
Elite
Posts: 2556
Activity:
0%
Reputation Power: 32
Gender:
"The Devs Hard at Work"
Respect:
+272
Referrals: 1
Re: Simple Timer
«
Reply #1 on:
April 22, 2015, 08:48:16 PM »
0
Typically for seconds you want to use #scnt
set %Timer #Scnt + 30 ; (30 seconds)
repeat
wait 1
Until %Timer <= #Scnt
You can also use #Systime (ms) if you are looking for something more exact.
set %Timer #Systime + 30000
Repeat
wait 1
Until %Timer <= #Systime
Logged
Monkeys and Typewriters!
" Oh I know, We'll make a Boss Encounter that requires 3 keys per player to enter, Then we'll make it not a closed instance so you never know if you are going to pop into a fresh room or a boss that has 1% Health left with 20 dudes smashing its face in, wasting your time and effort"
declo
Jr. Member
Posts: 90
Activity:
0%
Reputation Power: 2
Respect:
+21
Referrals: 1
Re: Simple Timer
«
Reply #2 on:
April 23, 2015, 06:13:15 PM »
0
Thank you!!!!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Tags:
ScriptUO
»
Official ScriptUO EasyUO Scripts
»
Scripting Chat
»
Simple Timer