Space Engineers

Space Engineers

Nedostatek hodnocení
Precise Timers (Updated) Tick-By-Tick
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Značky: other_script
Velikost souboru
Přidáno
431.802 KB
9. lis. v 16.11
Poznámky ke změnám (1) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Precise Timers (Updated) Tick-By-Tick

Popis
Setup:
Add this script to a Programmable Block

Add "Adv" (Without quotation marks, capitals matter) to the end of a timer name to mark it for Tick by Tick countdown.
When you do so, the delay will be considered in terms of Ticks instead of seconds, and there is 60 ticks in a second (So 30 seconds delay would become half a seconds delay)

You can also change the script to change the post-fix to what every you want. (It is marked in the script)

Be aware if you remove Adv in the Timer Name it wont stop being a Precise Timer until you reload the world or you recompile the programming block.

Be aware that it takes up to 5 seconds for the script to recognize a newly named timer. So wait 5 seconds after you renamed the timer before testing it.

(When I say frame above, I mean a Sim Tick. I say Frame since it is more intuitive to more people. This means that this script is not affected by your FPS, but only by Sim Speed, which is good)