MvtUtil: Batch toggle mvt.Pursuer selection state


ASTER::ACTION::MotionControl::MvtUtil: Batch toggle selection state of mvt.Pursuer

Batch Select or deselect any instances of “Active Object” as mvt.Pursuer.

In ASTER's MoveTowards, users can group arbitrary object instances into Group A and Group B through manual operations. As a support function for recording these selections, MvtUtil is available.

In this document, Group A is referred to as mvt.Target, and Group B is referred to as mvt.Pursuer.

The selection state of instances is managed by ASTER.

If an instance has already been selected as mvt.Pursuer, selecting it again will deselect it. This specification prevents bugs such as double-selecting an already selected instance.


Expand for details: Operation verification

Verified Operation

Operation verification results, specifications, etc., for Batch Selections targeting ASTER rev.1.0.4 and later.

Minion Minion

  • Set the maximum number of instances that can be selected simultaneously to "1, 8":

    • Normal: Batch selection stops once the maximum number of selections is reached.

    • Normal: Instances selected as mvt.Pursuer are deselected by Batch Selections. If there is room for additional selections, the process moves on to selecting the next new instance.

    • Specification: Until rev.1.0.3, if an interrupt process such as EvD: Selected mvt.Pursuer is inserted while executing CF25’s Action Loops, the remaining loop processes are canceled after row transition due to the specification of GENERATE EVENT.

  • Selection Constraint 1: Disabling Selection Operations

    • Normal: If an instance registered in the motion controller is attempted to be selected, the selection is skipped.
  • Selection Constraint 2: Disabling Selection Operations

    • Normal: An instance selected as mvt.Target cannot be selected as mvt.Pursuer.

Caution

Regarding the specification change

In versions up to and including ASTER rev.1.0.3, the above operation verification does not function properly.

Since ASTER rev.1.0.4, operational specifications have been changed to improve immediate execution conditions such as EvD: mvU: mvt.Target, ensuring proper functionality.


Parameter:

Select the object instance. Only the "Active (sprite) Object" Type can select.

Description of the image

If "The Active Object" is not specified, an error will be displayed when executing the action from the event, and the process will be aborted.

Event Creation:

Create a condition-checking process that directly specifies instances, such as a mouse click event.

Minion Minion

By supporting CF25’s action loop, the batch selection function for object instances enables the creation of events such as batch selection of instances with specific variable values and batch deselection of instances that do not meet certain conditions.

Minion Minion

By using Event Detection together, it is possible to batch process events that specify fixed values for instances.


Export Selection

Information about the selected instances can be exported to a JSON array.