Difference between revisions of "Talk:Bethesda Tutorial Scenes"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Cipscis
(→‎Extra Credit: GetCurrentTime)
imported>SoaringChris137
Line 9: Line 9:


::: -- [[User:Cipscis|Cipscis]] 15:52, 16 February 2012 (EST)
::: -- [[User:Cipscis|Cipscis]] 15:52, 16 February 2012 (EST)
Values 0 and 24 would both come back as midnight. Also if you use 25 you get 1am, 26 2am ect. --[[User:SoaringChris137|SoaringChris137]] 16:53, 3 March 2012 (EST)

Revision as of 16:53, 3 March 2012

Extra Credit

Can someone hint without too much spoilers how to make Bendu greet Gilfre different depending on time of day? Guess one way is placing timer check with GetCurrentTime, but would require 3 different phases in the scene which seems wrong? Another way I guess might be with a scene where the greet only trigger if they should come within a specific distance (with package template of some kind). --Nemesis 09:16, 15 February 2012 (EST)

I would like to know this as well. GetCurrentTime does seem like the way to go, but it is unclear to me what the range is of the variable that is returned. Is time a number between 1-24? 0-1? And should the function be ran on Subject? --Mr6 10:22, 16 February 2012 (EST)
GetCurrentTime should return a value between 0 and 24, although I'm not sure which of those two values should be returned at midnight. It's not a reference function, so it doesn't need to be called on anything.
-- Cipscis 15:52, 16 February 2012 (EST)

Values 0 and 24 would both come back as midnight. Also if you use 25 you get 1am, 26 2am ect. --SoaringChris137 16:53, 3 March 2012 (EST)