[RMMV] Selected Item
About
To use:
Simple & Efficient way:
Use this script call:
CTB.SelectItem(varId, *itemType*, *standardMV*)
varId: Variable Id to store the item number picked
itemType: 1 (Normal), 2 (Key), 3 (Hidden A), or 4 (Hidden B)
standardMV: Set to true to use the standardMV item select window
Both itemType & standardMV are optional
Examples:
CTB.SelectItem(1, 4)
CTB.SelectItem(5)
CTB.SelectItem(7, 2)
...or..
Use the following script call:
CTB.SelectItemMV.enabled = true;
Then call the Select Item command from the event list
Upon completion CTB.SelectItemMV.enabled will auto revert to false
Optionally you may also use the script call CTB.SelectItemMV.keepEnabled to not auto revert
With that then you would manually set CTB.SelectItemMV.enabled back to false to use the default Item Select window
Setup parameters as desired
Place notetags in the item notes
Notetags are as follows:
Example notetags:
All notetags are evaluated javascript
Place image files in the chosen directory set in the parameters
Default directory is "img/pictures/"