Jump to content

Recommended Posts

###Shit, sorry, wrong sectiont. Reposting to troubleshooting. Mods sorry, and please delete.###

 

 

Hello gentlemen,

would you help me to solve this little problem. I want to make fire place burn only at night. I have found this code:

 

------Fireplace-----

f1

------Trigger-----
Condition: daytime >= 18 OR daytime <= 6
On Act: f1 inflame true

-----Trigger to stop the burning-----
Condition: daytime <= 18 OR daytime >= 6
On Act: f1 inflame false

 

Fire is being lit at 18. But it does not go out at 6. I've changed the "false" trigger since it didnt look logical to use same (=6 and =6 cant have dif vari) time, so:

-----Trigger to stop the burning-----
Condition: daytime < 18 OR daytime > 6
On Act: f1 inflame false

 

Fire gets lit, but again - doesnt go out at 6 in the morning...
 

Thnak you
 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×