Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Commands: 2050 - Call Movement Action | 2051 - Wait for Single Movement (can Detect fail cases) #3111

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Mar 8, 2024

  1. Call Movement Action + Wait for Single Movement( can Detect fail cases)

    Call Movement Action:
    `@raw 2050, "SetMoveSpeed", 0, 10001, 1, 3`
    @2050("typeOfAction",[targetIsVar,target, parameterIsvar, parameter])
    
    ```js
    @raw 2051, "", 0, 10001 //Wait for Single Movement
    @raw 20140, "Fails to move x times", 8 // start fail branch
    @raw 10 //empty space for more cmds
    @raw 20141 // end of fail branch
    ```
    
    -------------------------------
    
    old commits comments:
    Update Feature - Support Detecting when Move Route Fails
    Thanks @MackValentine Mack for solving some Core Issues
    jetrotal committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    72cd305 View commit details
    Browse the repository at this point in the history
  2. FaceTowards and FaceAway Commands

    ```js
    @raw 2050, "FaceTowards", eventAIsVar,eventA, eventBisVar, eventB
    ```
    ```js
    @raw 2050, "FaceAway", eventAIsVar,eventA, eventBisVar, eventB
    ```
    jetrotal committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    e0c567a View commit details
    Browse the repository at this point in the history
  3. WaitForMovement - Refactor code

    It now uses a single command instead of a chain of commands.
    ```cpp
    CommandWaitForMovement(useVarID, ID, useVarTargetVariable, targetVariable, useVarFailuresAmount, failuresAmount)
    ```
    
    You'll store if a Move Route failed or succeed on a target variable.
    Then use that variable to define an outcome.
    jetrotal committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    6be99f8 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2024

  1. Configuration menu
    Copy the full SHA
    ee8b2ad View commit details
    Browse the repository at this point in the history