Jump to content

Question about the "GetIsCurrentWeather" condition in dialogue


Recommended Posts

Edit: I've just discovered a few conditions that will work better. Serana uses one of them.

 

IsPleasant, IsCloudy, IsRaining and IsSnowing. That should make things a lot simpler if they work properly.

 

Hi,

 

I'm adding some generic dialogue to a new NPC and wanted her to make comments about the weather, such as "I hate rain", or "It's a lovely day!" The condition "GetIsCurrentWeather" looked ideal, until I checked the options for the condition. There are many options for clear, fog, overcast and storm. there must be 50 or more including weather for other world spaces.

 

For example the "Clear" types include 'SkyrimClear', 'SkyrimClear_A' up to 'SkyrimClearVT_A'. (A total of 16 in all)

 

I don't know what all the other types are. I'm hoping I can just use one of the 7 below each time and not have to list every single version with a raft of extra 'Or' conditions.

 

SkyrimClear,

SkyrimCloudy,

SkyrimFog (?), I've played the game for so many hours and can't remember seeing fog!

SkyrimOvercastRain,

SkyrimOvercastSnow,

SkyrimStormRainand

SkyrimStormSnow.

 

Does anyone know if that will do it and what all the other weather types are?

Link to comment
Share on other sites

You asked: "Does anyone know if that will do it and what all the other weather types are?"

 

Normally (inside a script) you would get the Weather as follow:

weather w = Weather.GetCurrentWeather()

if weather != None, you get the classification of this weather, which would reduced the conditions a lot.

IF ( w )
    IF (w.GetClassification() >= 2)
        Return False      ; is stormy weather or raining (False)
    ENDIF
ENDIF
        Return TRUE       ; no weather (TRUE) or weather class is 0 or 1 (TRUE)

no idea whether the CK has an condition like classification

Edited by ReDragon2013
Link to comment
Share on other sites

Thanks for giving this the time ReDragon2013.

 

That's not quite what I meant though. I found some better conditions And I'm testing them. I probably wasn't clear enough. I was referring to the options that are available when trying to use the 'GetIsCurrentWeather' condition in dialogue spoken by an NPC. That's where you see all of these options as included in my original post.

 

It turns out that there are separate conditions, not 'GetIsCurrentWeather' that are the simpler ones I added in my edit, such as 'IsPleasant' == 1.00

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...