Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #25  
Old 01-24-2012, 04:34 PM
Pelikano Pelikano is offline
Registered User
Pelikano's Avatar
Join Date: Oct 2008
Posts: 1,133
Pelikano has a little shameless behaviour in the past
Quote:
Originally Posted by scriptless View Post
Question, you have 2 timeouts. One for actually counting down, and one for showing the time. Correct me if I am wrong but wouldn't it be better to just calculate the time with timevar/timevar2 in the timeout to show the variable?
Didn't read through the posts, but you can't "count time" inside a timeout anyway, because if you set the timeout to 0.1, it doesn't mean that it will actually be called after 0.1 seconds, it may be called after 0.5 seconds depending on the performance...
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:56 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.