Editing Timers
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 7: | Line 7: | ||
=== Text-Based Timer === | === Text-Based Timer === | ||
# Add the template to your mission by adding <code>#base | # Add the template to your mission by adding <code>#base reverse_timer_text_v2.pop</code> to the top of your popfile | ||
#Add this block | # Add this block of text at the top of each of your Wave{} blocks<syntaxhighlight lang="javascript"> | ||
SpawnTemplate texttimerv2 | |||
InitWaveOutput | |||
{ | { | ||
Target gamerules | |||
Action runscriptcode | |||
//////////////////////////////////////////////////////////////////////////////// | |||
// ::clock <- `minutes|seconds|color|logic_relay triggered on depleted timer` | |||
Param "::clock <- `10|00|0 255 255|timerfinish1`" | |||
//////////////////////////////////////////////////////////////////////////////// | |||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
# | # Send a <code>SetValue</code> input to <code>addtime</code> with a parameter of a number to add or remove time from the timer | ||
# Send a <code>CallScriptFunction</code> input to <code>timerdisplay</code> with a parameter of <code>timerpause</code> to pause the timer, or <code>timerunpause</code> to unpause instead | |||
Send a <code> | |||
=== Boss Bar Timer === | === Boss Bar Timer === |