I don't know if I can add the missions to the list of official missions. But even if, there will be several problems. One is that the custom missions aren't limited to only one stage. Even the first checkpoint can be spread over multiple stages.Is it possible we could get a "hide objective ui unless progressing" option?
Ultimately I want to add missions in the style of the vanilla missions with a single "checkpoint" that can be completed as part of free play, but I don't want them cluttering the ui all the time.
The extension of that idea would be to add a "checkpoint completed: earn rp per second" function like how the vanilla missions work once completed, and/or even adding custom missions to the stage mission list ui, but I think those would be harder to implement and I don't want to ask too much![]()
You could, more or less, do what you wanted with the functions already provided:
- make your first checkpoint with the condition and a duration of 0 and hidepanel
- second checkpoint with the same condition, the normal duration and without hiding the panel
- as "onviolatecondition" for the second checkpoint loop back to the first checkpoint with "setCheckpoint"
- third checkpoint is like the first again
- fourth is like the second, but with a short duration like 1sec and low RP reward. You probably want to hide the progress bar
- the fourth checkpoint should loop onto itself with "nextcheckpoint" and the "onviolatecondition" should set the checkpoint back to the third
- if you use a SubCondition you can create a template where you only need to change the condition once, plus the time and RP rewards
That way, when you stop fulfilling the condition you get back to the invisible checkpoint. Only problem is, that you have to do the longer part at the start in on go, because it will reset either way when you go back to the very first checkpoint.