Jump to content

[General] - Unable to Set Custom Clock Segments


HyperHamster

Recommended Posts

Bug Submission:

Category: General

Issue Title: Unable to Set Custom Clock Segments

Issue Description: I'm trying to reconfigure the 16 segments of the clock to 12 day segments 4 dawn segments and 0 night segments by using the command below.

GetClock():SetSegs(12,4,0)

Normally in ordinary Don't Starve this command would do what I'm trying to do, however it does not in Don't Starve Together and returns the message below.

console:1: variable 'TheClock' is not declared
Steps to Reproduce:
  1. Open the Console in Don't Starve Together While In-Game
  2. Enter This Command: GetClock():SetSegs(12,4,0)

@HyperHamster, This isn't a bug... The way the clock is implemented got changed. Exposing that in a way that would be easier to use the console to change may be a part of improving mod support.

 

Meanwhile, I think this command will work:

TheWorld:PushEvent("ms_setclocksegs", {12,4,0})

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...