MvtUtil

MoveTowards :: Utilities


ASTER’s Moiton of MoveTowards is designed to efficiently configure and move multiple instances.

ASTER :: MoveTowards includes many support functions called MoveTowards Utility that are used when creating events from the CF25 event editor.

MoveTowards :: Utility is abbreviated as MvtUtil in this document.

Additionally, MoveTowards is abbreviated as MvT, Target as Tgt, and Pursuer as Prs.


Implementation of ASTER::MoveTowards

ASTER designed the behavior to treat multiple instances as a “swarm” and move them as a swarm. To achieve this purpose, decided to first classify and select instances as targets (mvt.Tgt) and pursuers (mvt.Prs).

Description of the image
Moving a single instance to the target is simple. However, assigning targets to multiple instances, selecting those targets, and recording the user's selection actions are complex tasks handled and supported by ASTER's MvtUtil.

The event creation support features include a function to export information of the selected instance to a JSON Array, which can be used as a versatile convenience function even without utilizing ASTER::MoveTowards.

ASTER has also provided a mechanism called the Reference Vector to avoid using the slower JSON Array, which is expected to operate at higher speeds.



ast:MvT Action List

Functions ASTER Rev.1.0.0 Event Detail
Configure Max Num of Oi can be Slctd Per Grp Action Config :: the Max Num of mvt.Target & Pursuer
Select or DeSelect as a mvt.Target Action mvt.Target :: Individual Selection, deselection
Select or DeSelect as a mvt.Pursuer Action mvt.Pursuer :: Individual Selection, deselection
Batch Select :: As mtv.Pursuer Action mvt.Pursuer :: batch selection
DeSelect All mvt.Target & mvt.Pursuer Action mvt.Target & Pursuer :: deselect all
Cache as a Related Obj Instance Action Related Object Instance :: Cache
Destroy the Related Obj Instance Action Related Objct Instance :: Clear & Destroy
Create a 1D-Arr with Fixed Value to JSON :: Target Action JSON :: Export to 1d-Arr :: Fixed of mvt.Target
Create a 1D-Arr with Fixed Value to JSON :: Pursuer Action JSON :: Export to 1d-Arr :: Fixed of mvt.Pursuer
Create a 2D-Arr with Oi’s Xy-Coords :: Target Action JSON :: Export to 2d-Array :: Xy-Coords :: Target
Create a 2D-Arr with Oi’s Xy-Coords :: Pursuer Action JSON :: Export to 2d-Array :: Xy-Coords :: Pursuer
Create Reference Vector Action Batch generation of destination coordinates
Action

Condition

Functions Rev.1.0.0 Event Detail
EvD :: Selected mvt.Target Condition
EvD :: Selected mvt.Pursuer Condition
EvD :: DeSelected mvt.Target Condition
EvD :: DeSelected mvt.Pursuer Condition
Condition

Expression

Functions Rev.1.0.0 Event Detail
Get Num of Selected Instances as mvt.Target Expression Get the number of mvt.Target
Get Num of Selected Instances as mvt.Pursuer Expression Get the number of mvt.Pursuer
Expression