![]() |
Sleep...
Well, I am scripting a baddie for Oasis and Konidias said he doesn't want sleep in it. And I can not figure out howto do this some other way...
NPC Code: I can't figure out some other method of waiting... |
The function is going in a timeout loop and it doesn't seem to work properly.
|
I see. I'm pretty sure I know what you mean. I think it is the same thing I am doing with the amount of steps the baddie takes before changeing directions...
Thanks Kai :) |
Why do you check if the absolute value of this.dx/dy is less than 2.3?
|
Quote:
It has something to do with the rest of the script.... |
Shizzam! lol
Wouldn't it be easier to just use sleep? Or is it not just his personal preference |
Quote:
|
| All times are GMT +2. The time now is 05:53 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.