Description

Execute commands event

Usage

Parameters

  • event {Game_Character} optional

    (optional) Event used for execution. If no, what is the player who is affected

  • finish {Function} optional

    (optional) Callback when command execution is complete

Example

Class.New("Game_CommonEvents", [5]).exec(function() {
    console.log("finish");
});

Discussion