|
Katiana Milena
Registered User
Join date: 30 Oct 2007
Posts: 8
|
10-31-2007 22:25
I have been trying to script a pet program into an object, and there is an error which I am to inexperienced to solve myself. As far as I can tell, the problem is a lack of definition. I have included in this post the problem line, but I imagine you would require the full script to solve the problem. I think it is floatmod that is undefined, but I could be wrong floaty = floaty + floatmod; and the URL for the full script... /54/fc/29116/1.htmlScript taken from a post by Logan Bauer Any help would be appreciated. Thanks!
|
|
Ravanne Sullivan
Pole Dancer Extraordinair
Join date: 10 Dec 2005
Posts: 674
|
10-31-2007 23:31
Did you include the following in the script when you copied it?
///////// Play around with these variables to adjust bob distance and speed float floatdist = 0.1; // This is the distance we bob up and down. float floatmod = 0.02; // This is the step or increment we move each time, basically how fast we bob up and down.(the bigger the number, the faster we move.) ///////////////////////////////////////////////////////////////////////
|
|
Katiana Milena
Registered User
Join date: 30 Oct 2007
Posts: 8
|
11-01-2007 00:04
Oh my god I can't believe I left out part of the script. Thanks a bunch, it is working perfectly now... Entirely my error, thanks for helping me clear it up 
|