Cia to all
I have a problem with a countdown.
The count starts at 25 and goes down to 0 but many times the countryman stops at 1
I've written this code
+ Function: On "start_tempo"
+ System: tempo_partito = 0
+ Multiplayer: Is host
-> Multiplayer: Broadcast tag "avviatempo" message Multiplayer.Message (from "", mode Reliable ordered)
-> System: Set tempo_var to 25
-> System: Set tempo_partito to 1
-> Multiplayer: Broadcast tag "tempopartito" message str(tempo_partito) (from "", mode Reliable ordered)
tempo_partito isa variable thet test if i must start countdown
and
+ System: Every 1.0 seconds -> System: Subtract 1 from tempo_var
+ System: tempo_partito = 1 -> Tempo: Set text to tempo_var
+ System: tempo_var ≤ 25
+ System: tempo_var > 0
+ Multiplayer: Is host
If i set the variable to +tempo_var > 1
the count down stop to 2 seconds
Tell me some suggestion
Thank's
Mimmo