Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 06-11-2010, 05:14 PM
Fulg0reSama Fulg0reSama is offline
Extrinsical Anomaly
Fulg0reSama's Avatar
Join Date: Sep 2009
Location: Ohio
Posts: 3,049
Fulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant future
Quote:
Originally Posted by fowlplay4 View Post
Probably wouldn't hurt to provide a function that clears the windows. I.e:
Don't see the need if they just added a command or a button in the F2 console area to clear it automatically.
__________________

Careful, thoughts and opinions here scare people.
Reply With Quote
  #17  
Old 06-11-2010, 05:17 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Fulg0reSama View Post
Don't see the need if they just added a command or a button in the F2 console area to clear it automatically.
Should definitely be done, people like Skyld and possibly Tig have access to the scripts for that.
__________________
Reply With Quote
  #18  
Old 06-12-2010, 03:03 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by Tigairius View Post
calculating 10^2.76 each time
That would not be calculated each time unless Stefan wrote a terrible compiler. Constant expressions should be calculated at compile time.
__________________
Reply With Quote
  #19  
Old 06-12-2010, 02:27 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Tigairius View Post
For example, if you have a constant number, 575, you should just write 575 instead of calculating the value every single time. As Crow said, calculating 10^2.76 each time takes up more processing time than is necessary.
Because it is a static expression, the value will be pre-calculated during folding at compile time. It won't have any impact on script execution because it has already been substituted for it's actual value by the time it runs.
Quote:
Originally Posted by cbk1994
Should definitely be done, people like Skyld and possibly Tig have access to the scripts for that.
Yes I am sure this would be possible
__________________
Skyld
Reply With Quote
Reply

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 02:13 AM.


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