- Joined
- Mar 21, 2020
- Messages
- 37
- Reaction score
- 35
- First Language
- English
- Primarily Uses
- RMMZ
So I tried with FilterControllerMZ and Visustella's plugin, everytime the Argument is an array, I don't know how to make it work.
Like this one:
targetIds type is string[], I tried to use 12, "12", '12', [12], ["12"], ['12'] all of them didn't work. Please tell me what did I do wrong?
Like this one:
PluginManager.callCommand(this, 'FilterControllerMZ', 'createFilter', {
filterId: 33,
filterType: 'crosshatch',
filterTarget: 'SpecificPicture',
targetIds: 12,
positionReferenceTargetId: '',
});
@arg targetIds
* @desc when choosed "SpecificChar/Picture", specify the event/picture(s) id here. (multiple OK)
* @type string[]
* @default []
targetIds type is string[], I tried to use 12, "12", '12', [12], ["12"], ['12'] all of them didn't work. Please tell me what did I do wrong?
Last edited: