savegame – how do i save the coodlwon time left in godot?

savegame – how do i save the coodlwon time left in godot?

[ad_1]

savegame – how do i save the coodlwon time left in godot? – Recreation Improvement Stack Alternate







Recreation Improvement Stack Alternate is a query and reply web site for skilled and unbiased sport builders. It solely takes a minute to enroll.

Signal as much as be part of this neighborhood

Anyone can ask a query

Anyone can reply

The perfect solutions are voted up and rise to the highest

Requested

Considered
17 occasions

$begingroup$

wether i convert the timer’s .time_left to an interger or a float it all the time offers me an error saying

"Invalid set index 'time_left' (on base: 'Timer') with worth of sort 'float'."

or

"Invalid set index 'time_left' (on base: 'Timer') with worth of sort 'int'."

here is the code :

    if "unstuck_cooldown" in player_data:
        $Minimap/Unstcuk/UnstuckCDTimer.time_left = int(player_data["unstuck_cooldown"])    

$endgroup$

2

default

 

[ad_2]

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Scroll to Top