Need help with my first Script

so i giving scripting a shot, so i made a footstep script,well heavely inspired by the fps tutorial one, but it gives me a error can anybody help me? here some screens, im more a graphic artist then a scripter, but pls help, since this is my first try, its java btw

You’re calling WaitForSeconds and passing it a string. It takes a float argument.

http://unity3d.com/support/documentation/ScriptReference/WaitForSeconds.WaitForSeconds.html

Looks like you passed a string to the WaitForSeconds (); function.

Pass an integer instead.

Edit, lol pipped at the post. Or a float of course :slight_smile:

if you use the code tags you may make it easier for more people to quickly reply,

Go in advanced mode, add your code to you post, select the code part and click on the '#' to add the code tags