ID:180309
![]() Jul 24 2001, 3:58 pm
|
|
I read that this was a bug but is there an alternative to the walking animation. I tried slowing it down with world.tick_lack = 2 but that just makes it worse cuz you stop pressing the key and you're still walking. Plus, it completely screws up the flick("kick",src) thing cuz it doesn't show the animation at all til you wait like 30 sec. Any other alternatives I'd be happy to know???
|
On 7/24/01 9:34 pm FIREking wrote:
dont use tick, use this Thanks! =) |
On 7/24/01 9:38 pm FIREking wrote:
welcome Ok, say I want a computer to run for a certain amount of time, lets say 5 min. Then after 5 min it'll say view() << "the computer has shut down" how would I use the time procedure in that? |
spawn(3000)
view() << "The computer has shut down" or(im not sure on the time) spawn(5000) view() << "The computer has shut down" im not too sure where or how your are going to call this, thats for you to decide |
On 7/24/01 10:19 pm FIREking wrote:
spawn(3000) That won't stop the player movements or anything? If not cool! Thanks! -=Edit=- Ok it didn't, thanks a lot! :) |
mob/var/tmp/last_move = -100
mob/var/move_delay = 1.5
mob/Move()
if(world.time < src.last_move + src.move_delay)
return
else
src.last_move = world.time
return ..() //do what mob/Move() normally does
and set the move_delay higher for slow movemtn, or lower for faster movement