class'GameInfo'.StartTime

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

class'GameInfo'.StartTime

Post by Barbie »

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: 2734
Joined: Sat Mar 21, 2020 5:32 am

Re: class'GameInfo'.StartTime

Post by Buggie »

Some unused field. Possible intended use for something, what never be implemented.
User avatar
sektor2111
Godlike
Posts: 6410
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: class'GameInfo'.StartTime

Post by sektor2111 »

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