N
NFTGaming
Guest
Hi,
I'm fairly new to GameMaker and am working on a survival game which includes AI. I'm making chickens and they walk around using :
motion_set(choose(0,45,90,135,180,225,270,315,), chicken_spd/2);
and:
if alarm[0] = -1
alarm[0] = choose(0,0,0,0,0,0,0,0,0,1,2,3,4,5)*room_speed
This is good and it works but in survival games, chickens walk around but then stop for a while and sit there. That's what I want them to do but do not know how.
Thanks ;D
I'm fairly new to GameMaker and am working on a survival game which includes AI. I'm making chickens and they walk around using :
motion_set(choose(0,45,90,135,180,225,270,315,), chicken_spd/2);
and:
if alarm[0] = -1
alarm[0] = choose(0,0,0,0,0,0,0,0,0,1,2,3,4,5)*room_speed
This is good and it works but in survival games, chickens walk around but then stop for a while and sit there. That's what I want them to do but do not know how.
Thanks ;D