27-02-2009, 04:47 PM
Nean Wrote:Matt Wrote:A small addon you could do, is to add a tickcount timer to force the player to wait a period of time, like 30 seconds, so it actually takes time to fish and blit an icon above the player's head, so that everyone knows the player is fishing.
I suggest adding a loading bar of sorts to show how much time is left.
Thanks for all the feedback guys. And thanks Matt, I think I'll go ahead and give that a try. Shouldn't be too hard, though I haven't used GetTickCount for timing, before. This could be a challenge. I dunno, we'll see.
Code:
If GetTickCount > TimerValue + 3000 then
' code to check something
TimerValue = GetTickCount
end if
All it does is store the 'current' time in the TimerValue, then checks to see if it is 3 seconds ahead of when it was stored. The code in the if statement will run as soon as 3 seconds has passed since it was last run, then the new current time is stored in the TimerValue, allowing a loop.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?