Jump to content

Begginer's question about a script


brfritos

Recommended Posts

Need help or more specific, if what I'm planning to do is correct.

 

I'm trying to make Cass bark more, since her recorded lines are very good but in patch 1.4 Obsidian for whatever reason changed her condition to speak only one time at the day when you arrive at some location.

 

From what I understood about GECK these lines control how often she speaks:

 

;ElseIf (bCassBarked == 1) && (GameDaysPassed >= fSpeakTime + 1.0)
;Set bCassBarked to 0

If i change GameDaysPassed to GameHour and +1.0 to +2.0 this means that evey two hours instead of a single day she will speak when arriving at a new location, right?

 

 

Then the script alerts that regions are divided into different script sections.

 

So for every section you have the same code:

;Set fSpeakTime to GameDaysPassed
;Set bCassBarked to 1

 

This means that I also have to change GameDaysPassed to GameHour in every section?

 

Thanks a lot for the help.

Link to comment
Share on other sites

Replacing GameDaysPassed with GameHour is a bad idea, because GameDaysPassed only ever grows in value, while GameHour resets to 0 at the end of each day. You would get no more barks at all after the first time you passed midnight.

 

I would suggest not replacing GameDaysPassed and lowering the amount of time instead to something like 0.08. That's just under two hours, you can calculate it yourself for higher precision.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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