Skip to content

Wait for Value Easing

Wait for Value Easing

Pauses the script until any value easing, such as a gauge animating toward a new value, finishes on the calling user interface or on all open user interfaces.

Note: When called outside of a user interface, all open user interfaces are checked.

Properties

System

Name Explanation Type
All User Interfaces Whether to wait for value easing on all open user interfaces instead of only the calling one. Toggle

Examples

Wait for This User Interface

This pauses the script until any value easing, such as a gauge filling, finishes on the user interface running the script.

wait_for_value_easing();
{"Data":{"IsAll":0,"Metadata":null},"TypeName":"MAR.Game.Shared.Models.Scripts.Commands.UserInterface.WaitForValueEasingCommand"}

Wait for All User Interfaces

This pauses the script until value easing finishes on every open user interface.

wait_for_value_easing(all);
{"Data":{"IsAll":1,"Metadata":null},"TypeName":"MAR.Game.Shared.Models.Scripts.Commands.UserInterface.WaitForValueEasingCommand"}