this is what im doin....
http://imageupper.com/gi/?galID=S0300010041O13355668922147771&n=1&m=1
this is in the highlighted script
image_angle = point_direction(x,y,mouse_x,mouse_y)
///////
reload = false
///////
if sprite_index = PistolReload_spr{
if image_index=12 {ammo = PlayerParent.maxpistolammo if mouse_check_button(mb_right)
sprite_index = Pistol_spr else sprite_index = PistolNO_spr reloading = 0 }
if image_index=10 if not reload then sound_play(Reload)}I know its messy..i get it to work first then neaten it up XD
so what is meant to happen is matie reloads when the sprite reaches image_index=12, he does do this but only when he's in a single subimage sprite before the reload animation, so its like.. PistolStill_spr to PistolReload_spr"works" but PistolWalk_spr to PistolReload_spr"doesnt work".
in the image ive provided the ifs are if reloading = 0 {if the walking sound is playing change spr to walking,if runing sound is playing change spr to runing}..is the jist,
sorry if i didnt explain very well, im no good at that
help would be nice. thanks
Edited by KevinBacon, 27 April 2012 - 11:20 PM.











