Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Lower Water script help

Author
Message
JohnBack
13
Years of Service
User Offline
Joined: 23rd Sep 2011
Location:
Posted: 11th Feb 2013 13:17
Hello, I found the script plrinzone_activewater_ifused_timed by Northern, that raised water, but I wanted to lower it so I changed the water height variables to be reversed so instead of raising the water lowers.

I press the switch and the water lowers, the problem is the water isn't visible till you press the switch, I am new to the coding and I've looked at the tutorials and cannot figure it out.

this is the unoriginal code


This is the code I've changed as you can see I put the numbers in reverse



What changes to the code above would I need to change to make the water visible, then when the switch or trigger is hit the water lowers?

I am using FPSC 1.19,
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 11th Feb 2013 15:43 Edited at: 11th Feb 2013 15:45
Hi JohnBack
Just taking a quick look at your script and in the first line I noticed waterheightofzone=0,state=1 And your second line after state=1 reads waterheight=589.1
I think your wanting to start with a "waterheight" of maybe "599",
then lowering it? Also I'm not sure about the decimal..(589.1) I've
always used whole numbers.

Login to post a reply

Server time is: 2024-11-23 17:20:53
Your offset time is: 2024-11-23 17:20:53