This is the most up to date stable release!

Release Notes

v.0.6.6:

  • If you used an action to call a js-function that returns "true", it would suspend following actions in the event sheet. That reproduced in C3 runtime and it could reproduce in C2 runtime. Now it's fixed.

ACES

A list of all Actions, Conditions and Expressions supported in this addon.

c2legacy

  • Conditions

    {0} {1} function {2} ({...})

    Call JS function and compare its return value (does NOT store return value).

    {0} {1} [{2}] ({...})

    Call JS function behind the alias expression and compare its return value (does NOT store return value).

    {0} {1} value of {2} ({...})

    Compare completion value of JS code with optional parameters (does NOT store return value). This condition uses eval.

Eval

  • Actions

    Execute code: {0} ({...})

    Execute JS code with optional parameters and store returned completion value. This action uses eval.

  • Conditions

    Value of {0} ({...}) {2} {3}

    Compare completion value of JS code with optional parameters (does NOT store return value). This condition uses eval.

  • Expressions

    JSCodeValue

    Execute JS code with optional parameters and get its completion value right away (it will NOT store this value). This expression uses eval.

General

  • Actions

    Call function: {0} ({...})

    Call JS function with optional parameters and store its return value.

  • Conditions

    Function {0} ({...}) {2} {3}

    Call JS function and compare its return value (does NOT store return value).

    Stored Return {0} {1}

    Compare last stored return value after actions.

    All scripts loaded

    Check if all scripts are loaded.

  • Expressions

    StoredReturnValue

    Get stored return value after actions

    FunctionReturnValue

    Call JS function with optional parameters and get its return value right away (it will NOT store this value).

Aliases

  • Actions

    Init [{0}] with javascript {1}

    Init alias with javascript code.

    Set [{0}] to {1}

    Set value behind alias expression.

    Call [{0}] ({...})

    Call the function behind alias expression and store its return value.

  • Conditions

    [{0}] {1} {2}

    Compare the value behind the alias expression.

    [{0}] ({...}) {2} {3}

    Call JS function behind the alias expression and compare its return value (does NOT store return value).

  • Expressions

    AliasValue

    Get alias value

    AliasCallReturnValue

    Call the function behind alias expression with optional parameters and get its return value right away (it will NOT store this value).

Share

Twitter The author of this plugin valerypopoff is on Patreon. If you like their addons, consider supporting them!

Download

0.6.6 Stable (23 KB)

Info

Owners