i want to make an rpg with unity but i dont know how to make my character walk. ive already made my character with a run, walk and idle animation with blender and imported it into unity. but i dont know how to make my character do his animation when i press the buttons on my keyboard. all i know is that its somehow done with scripting, and im hopeless at scripting. so can anyone write me a script or tell me how i would do this?
Check out the tutorials. Read and understand what they are doing. They have scripts that do exactly what you are trying to do. Unless you are paying them to do so, you would be hard-pressed to find someone willing to do all the work for you.
Simple code is something along the lines of:
function Update() {
var v = Input.GetAxis("Vertical");
if(Mathf.Abs(v) > 0.1f) {
animation["Walk"].speed = v;
animation.CrossFade("Walk");
transform.position.z += v;
}
else animation.CrossFade("Idle");
}