weather effects don't work

alexho

New Member
Reaction score
0
I have a question about weather effects, how do they actually work by trigger? I've never successfully had them work via trigger, ive looked for threads nothing seems to help? exactly how do i get below to work? :) it would be very nice to know how to have it rain randomly with fog etc..
Code:
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
        (Random integer number between 1 and 16) Equal to 1
    Then - Actions
        Game - Display to (All players) the text: fog
        Environment - Create at wholemap <gen> the weather effect Dungeon Blue Fog (Heavy)
        Environment - Turn (Last created weather effect) On
        Set weathereff[2] = (Last created weather effect)
    Else - Actions
 

cleeezzz

The Undead Ranger.
Reaction score
268
it should work, maybe try with a different effect?

for some reason using that same trigger, i was able to make light snow fall but blizzard never showed, dont know why.
 

jnZ

I
Reaction score
64
that shouldn't affect the weather, it just affects the random number.

jup and in the trigger he posted the weather only appears if the generated random number is 1, but if fixed random seeds is checked it could be possible that the random integer will be alway 2 or something else and the weathereffect would never appear
 

cleeezzz

The Undead Ranger.
Reaction score
268
even if it is fixed random seed, the number will eventually be 1 anyway.

fixed just means the random numbers are preset and will follow it each time.

so if you did

Game Text Message: String(Random integer from 1- 10)
and run it every second
you would get something like, 5, 3, 5, 6,7, 5, 2, 1, 4
but the thing about fixed random seed is its always the same, so if you start the game over and run the trigger again, you'll get the same numbers.

(it doesn't mean its always the same number, if thats what your thinking)
 

jnZ

I
Reaction score
64
who said that? how the hell should i know the event of his trigger if he doesnt post it and if the trigger runs only 1 time or only a few times in the game the weather effect could not appear or appear very late so the fixed random seeds could be a problem here. with your blablabla cant be the problem here but it CAN we are going pretty offtopic
 

cleeezzz

The Undead Ranger.
Reaction score
268
ok one thing we can agree on, set your event to every 1 second of the game.

fixed random seed or not, if the event is a long period of time, it could take a really long time.

(actually if you see the text fog near the beginning of the game, leave the fixed random seed on for now, cuz if it shows in the beginning, it will always show at that exact time.)
 

jnZ

I
Reaction score
64
ok one thing we can agree on, set your event to every 1 second of the game.

fixed random seed or not, if the event is a long period of time, it could take a really long time.

agreed

a while ago i had the fixed random seeds as a problem with nearly the same trigger that run at map init (it was a campaign) and the weather never showed up, thats why i mentioned this
 

PooBucket

New Member
Reaction score
12
It really should work, just depends on your events just like jnZ said (btw, have an argument somewhere else lols). Show the whole trigger next time. (Off - topic) What is fixed random seeds?
 

cleeezzz

The Undead Ranger.
Reaction score
268
i explained it already...
if its checked, random stuff is pre set

so if you call for a random number 1-10. and you get 5
you will get 5 also the next time you play the map.
 

alexho

New Member
Reaction score
0
i think it is true that some weather effects just don't seem to work via trigger. The random does work, it shows the text 'fog' but doesnt do squat otherwise. Its the weathereffect that doesnt work, i have a periodic event. the trigger is just as it is above, with every120 seconds event. destroylast weather effect when it triggers again.

init wouldnt work unless you put wait for a sec, init is really mostly for settingup variables not actions
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top