rmmz-ts is a series of TypeScript definitions for RPG Maker MZ.
Just install the package and in your .js/.ts files, it will automatically be picked up by the Editor.
$gameActors.actor(1)._
- _actionInputIndex
- _actionState
- _actions
- _actorId
- _battlerName
- _buffs
...
If you want more tips in js, use it in your .js file:
// @ts-check
If you use jsconfig.json or tsconfig.json, you should also add the following settings to enable the definitions.
{
"compilerOptions": {
"types": ["rmmz-ts"]
}
}
1.namepace and var of StorageManager & Window are occupied in the browser context, so they can't be pickup directly. Luckly, the StorageManager are not used frequently, so do the Window(usually use Window_Base). 2.the class Inpterpreter has many functions to complete, they will be set soon. Thanks.