simple weather trigger not working...

sunshinex3

You can change this now in User CP.
all i want is the weather effect rays of sunlight to appear in the day time and the rays of moonlight to appear at night, so... this is the trigger i have so far...

initialization:

weather
Events
Time - Elapsed game time is 0.50 seconds
Conditions
Actions
Environment - Create at (Playable map area) the weather effect Rays Of Light
Set SunLight = (Last created weather effect)
Environment - Turn SunLight On
Environment - Create at (Playable map area) the weather effect Rays Of Moonlight
Set MoonLight = (Last created weather effect)

different trigger
night
Events
Game - The in-game time of day becomes Equal to 18.00
Conditions
Actions
Environment - Turn SunLight Off
Wait 0.50 second
Environment - Turn MoonLight On

different trigger
day
Events
Game - The in-game time of day becomes Equal to 6.00
Conditions
Actions
Environment - Turn MoonLight Of
Wait 0.50 seconds
Environment - Turn SunLight On


OK so what this does right now is, it only turns rays of light on during the day, and off at night.
which is good that's what i want.
BUT
it doesn't doesn't turn Rays of Moonlight on at night.

So as of right now their is no weather effect at night, and I don't know why.
 

Shadow

TH.net Regular
Try making it "greater than or equal to 18" and the other one to "less than or equal to 18"

Right now I think only your first trigger is firing with the event at game elapsed time. Not sure if the time if ever equal to exactly 18 or 6.
 

sunshinex3

You can change this now in User CP.
night
Events
Game - The in-game time of day becomes Less than or equal to 18.00
Conditions
Actions
Environment - Turn SunLight Off
Environment - Remove SunLight
Wait 0.50 seconds
Environment - Create at (Playable map area) the weather effect Rays Of Moonlight
Set MoonLight = (Last created weather effect)
Environment - Turn MoonLight On
--------------------------------------------------------------------------------------------------------------

day
Events
Game - The in-game time of day becomes Greater than or equal to 6.00
Conditions
Actions
Environment - Turn MoonLight Off
Environment - Remove MoonLight
Wait 0.50 seconds
Environment - Create at (Playable map area) the weather effect Rays Of Light
Set SunLight = (Last created weather effect)
Environment - Turn SunLight On
-----------------------------------------------------------------------------------------------------------------

Is this what u meant? if so... doesn't work sunlight just stays on through out the night...
AND ty for the help!
 
General chit-chat
Help Users
  • The Helper The Helper:
    Blackveiled! What is up?
  • The Helper The Helper:
    I saw XXXConan on here the other day I dont know if you remember him
  • The Helper The Helper:
    blasts from the past
  • Blackveiled Blackveiled:
    I remember him, buncha old faces
  • jonas jonas:
    He's a software engineer at a hiring platform now I think
  • The Helper The Helper:
    I wanna know if his mom is still single LOL
  • tom_mai78101 tom_mai78101:
    I need context.
    +1
  • The Helper The Helper:
    Back in the day conan was a young one and his mom was single and I used to tease him that I was going to date his mom and be his daddy - yeah sounds bad now but it was funny at the time
  • The Helper The Helper:
    his mom is my age
  • The Helper The Helper:
    i know right it was pretty funny
  • thewrongvine thewrongvine:
    its pretty funny
    +1
  • tom_mai78101 tom_mai78101:
    Thanks for the context.
    +1
  • The Helper The Helper:
    Happy Hump Day!!!
  • Blackveiled Blackveiled:
    TH old fart gotta have a beer with me one of these days
  • The Helper The Helper:
    I am down anytime Blackveiled
  • Blackveiled Blackveiled:
    count on it then cause you don't live that far from me hah
  • The Helper The Helper:
    really that is cool!
  • The Helper The Helper:
    Hey Tom I added a new Weird tag to the News Prefixes
  • The Helper The Helper:
    What is up Blackveiled?
  • Blackveiled Blackveiled:
    Chillin', lurkin'. :D
  • The Helper The Helper:
    I am working on a bunch of site projects right now doing a bunch of behind the scenes stuff and trying to clean up some stuff that I let slide when I got lazy with the site for a few years...
  • The Helper The Helper:
    Are you in Houston Blackveiled or just in Texas?
  • Blackveiled Blackveiled:
    Houston
  • Blackveiled Blackveiled:
    I've been living here since 2014.

    Staff online

    Members online

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top