Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-30-2011, 02:34 PM
Astram Astram is offline
Era iPhone PR
Astram's Avatar
Join Date: Aug 2010
Posts: 324
Astram can only hope to improve
Send a message via AIM to Astram
I will take your suggestions and critisizism as I post my next script.
And @ Fowlplayer4 setTimer(.005); works and the 1 was this little test. Would be nice if it let me edit my own post. Though it doesnt for some reason...
__________________
-Toad
The worlds biggest Toad fan...
Era iPhone FTW!


Reply With Quote
  #2  
Old 05-30-2011, 03:16 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Astram View Post
Fowlplayer4 setTimer(.005); works and the 1 was this little test. Would be nice if it let me edit my own post. Though it doesnt for some reason...
It may "work" but it's not right. The minimum timeout is still one frame (0.05 seconds). Attempting to loop any faster is pointless.
__________________
Quote:
Reply With Quote
  #3  
Old 05-30-2011, 04:03 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 fowlplay4 View Post
It may "work" but it's not right. The minimum timeout is still one frame (0.05 seconds). Attempting to loop any faster is pointless.
It's also bad practice to do that because it's misleading to the scripter reading the code. Imagine if every script was written like that and Stefan eventually increased Graal's frame rate.

Quote:
Originally Posted by Astram View Post
Would be nice if it let me edit my own post. Though it doesnt for some reason...
You can't edit your posts after 24 hours on these forums.
__________________
Reply With Quote
  #4  
Old 05-30-2011, 07:18 PM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
Quote:
Originally Posted by Unkownsoldier View Post
You seriously need to stop thinking that the world is a kind, warm-hearted place. People aren't going to be nice to you everywhere you go, they aren't going to be your friend, and they aren't going to like you. Get over it. People are going to insult you, they are going to deny you rights you think you should have, and that will continue to happen until you prove yourself. so stfu
Although I agree to some extent, I don't really think you should be posting this, because you don't actually provide any assistance in these forums. I think the people being critical above have plenty of reason to.

Quote:
Originally Posted by cbk1994 View Post
You can't edit your posts after 24 hours on these forums.
Unfortunately.





Anywho, overall, folks should realize that everyone helping out here is doing it out of their own good will, to give others a push in the right direction. Some people will be more direct than others, but it doesn't matter as long as they are being helpful and not derogatory.
Reply With Quote
Reply


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:51 AM.


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