class'GameInfo'.StartTime

Discussions about Coding and Scripting
User avatar
Barbie
Godlike
Posts: 2394
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

class'GameInfo'.StartTime

Post by Barbie » Sun Apr 03, 2022 9:10 am

What is class'GameInfo'.StartTime for? The only occurrences are in class'GameInfo':

Code: Select all

class GameInfo extends Info native;

var   float                   StartTime;

function PreBeginPlay() {
	StartTime = 0;
The value does not change before game start nor after.

It was already asked 2017 in post MH: Exists variable for gamestart.
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

Buggie
Godlike
Posts: 1489
Joined: Sat Mar 21, 2020 5:32 am

Re: class'GameInfo'.StartTime

Post by Buggie » Sun Apr 03, 2022 9:21 am

Some unused field. Possible intended use for something, what never be implemented.

User avatar
sektor2111
Godlike
Posts: 5873
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: class'GameInfo'.StartTime

Post by sektor2111 » Tue Apr 05, 2022 8:27 pm

A similar value I see used in Pri and TournamentScoreboard... Perhaps was an attempt to link it somehow, somewhere... with GameInfo.