hey everyone!
im making an RPG and im taking another approach at MELE combat. i want to
reduce how far this "bullet" goes so its RIGHT infront of the character.
so then when you click it will shoot an invisible bullet while rotating the sword.
but currently i can shoot from a ways away. does anyone know how to take down
the range in this code:
`ATTACK
if mouseclick()=1
position object player,X#,Y#,Z#
limbtime#=timer()
rotate limb player,1,60,0,0
limb#=1
endif
if Mouseclick()=1 and BulletLife=0
Position object bullet,X#,Y#,Z#
Set object to camera orientation bullet
BulletLife =25
Show object bullet
Endif
If BulletLife > 0
Dec BulletLife
Move object bullet,10
hide object 11
If BulletLife = 0 then Hide object bullet
Endif
thanks in advance,
-=Snowfall Studios=
O
what goes up. must come down.