War for the Overworld

War for the Overworld

Discover and conquer new realms!
Looking for new realms to subjugate? Peruse the cavernous depths of the Workshop to find the next map upon which to sate your bloodlust or create your own and share via the in-game editor!
Learn More
Mightyscript Objectives
Anyone know how to update an objective with a timer object or a number object that isn't tied to any map/unit objects?

ie. I want the objective to say something like
Wave Number: # (number object)
Wave Timer: #:## (timer object)
Last edited by ♥♥♥♥ Goblin; 25 Apr, 2018 @ 5:06pm
< >
Showing 1-1 of 1 comments
If anyone is wondering how you do this:

For multiple objectives, just create new objectives but don't give them titles (use a space or else it won't show), then they will appear as a list of objectives. Enter a description and when you update that objective, the number will appear to the right of the description.

For timer object, you can only pass a number as a time in seconds, so I created a number object and a timer object. The timer loops every 1 second and triggers event 0. Then I have a script that triggers on event 0 and decreases the number object by 1. In the same script, I update the objective timer using the number object (not the timer object). The objective is shown with a timer like mm:ss. If the number used for the timer = 90, then the objective timer displays 1:30... and so forth.
Last edited by ♥♥♥♥ Goblin; 27 Apr, 2018 @ 1:22am
< >
Showing 1-1 of 1 comments
Per page: 1530 50