What is the name for the window that holds the status icons?

7ea99c39051fd3d597a350d57de1bb98.png
I just copied your event into my own project and it works fine, so I suspect it's a conflict with another plugin.

Can you try creating a new project with no plugins in it, installing the plugin there, then copy-pasting that same script call into an event and running it there?

If you get any errors, let me know - if they're the same as what you've already posted, you don't have to paste screenshots again. If you continue getting errors, can you try opening up the dev console with F8, running the following bit of code, then posting the results?

Code:
var harold = $gameParty.battleMembers()[0];
console.log(harold, harold.allIcons, harold.allIcons());
var haroldIcons = new Zevia.Window_StatusIconList(harold, 0, 0, 150);
SceneManager._scene.addWindow(haroldIcons);

I'm wondering if battleMembers() is returning an empty array or something.
here is the result from running it into the console, it did not work through that way.
If you open up up your dev console with F8 and type in "Array.prototype.find", what do you get back?

If it comes back as something like "[native code]", can you try modifying your version of the Plugin to change the Window_StatusIconList.prototype.setDisplayedIcons function to be the following and run everything again?

Code:
Window_StatusIconList.prototype.setDisplayedIcons = function() {
        this._displayedIcons = this._battler.allIcons().reduce(function(iconRows, icon) {
            console.log('iconRows is currently', iconRows);
            console.log('iconRows.find should be a function:', iconRows.find);
            var availableRow = iconRows.find(function(row) {
                console.log('Current row is:', row);
                console.log('this.canFitIcon should be a function:', this.canFitIcon);
                console.log('Can this row fit an icon?', this.canFitIcon(row));
                return this.canFitIcon(row);
            }.bind(this));
            if (availableRow) { availableRow.push(icon); }
            else {
                if (iconRows.length === maxRows) { return iconRows; }
                iconRows.push([icon]);
            }
            return iconRows;
        }.bind(this), []);
    };
If you open up up your dev console with F8 and type in "Array.prototype.find", what do you get back?

If it comes back as something like "[native code]", can you try modifying your version of the Plugin to change the Window_StatusIconList.prototype.setDisplayedIcons function to be the following and run everything again?

Code:
Window_StatusIconList.prototype.setDisplayedIcons = function() {
        this._displayedIcons = this._battler.allIcons().reduce(function(iconRows, icon) {
            console.log('iconRows is currently', iconRows);
            console.log('iconRows.find should be a function:', iconRows.find);
            var availableRow = iconRows.find(function(row) {
                console.log('Current row is:', row);
                console.log('this.canFitIcon should be a function:', this.canFitIcon);
                console.log('Can this row fit an icon?', this.canFitIcon(row));
                return this.canFitIcon(row);
            }.bind(this));
            if (availableRow) { availableRow.push(icon); }
            else {
                if (iconRows.length === maxRows) { return iconRows; }
                iconRows.push([icon]);
            }
            return iconRows;
        }.bind(this), []);
    };
cff278ea751f3d686efe5ea960308e1d.png

this is what i got
Well, that's definitely an issue, then. What version of RPG Maker MV are you using?

I'll include a polyfill for Array.prototype.find and see if that solves the issue.

In the meanwhile, either replace the contents of the Plugin with the following code or replace it with the version attached to this post.

Code:
/*:
* @plugindesc This is a tool that can be used by developers to create a window that just
* contains state icons for a given battler (Actors or Enemies).
* @author Zevia
*
* @help Create a new Zevia.Window_StatusIconList, passing in the battler whose state
* icons you want to display, the x-coordinate of the window, the y-coordinate, and
* the width of the window.
*
* For the number of rows specified in configuration, an icon will be drawn as long
* as it will fit on the row. If it won't, it will go to the next row, until the
* number of rows has been filled. At that point, no more icons will be drawn.
*
* Example:
* var harold = $gameParty.battleMembers()[0];
* var haroldIcons = new Zevia.Window_StatusIconList(harold, 0, 0, 150);
* SceneManager._scene.addWindow(haroldIcons);
*
* To refresh the window, call the refresh() method.

* @param iconWidth
* @text Icon width
* @type number
* @desc The width of the icons you want to display, in pixels.
* @default 28
*
* @param iconHeight
* @text Icon height
* @type number
* @desc The height of the icons you want to display, in pixels.
* @default 28

* @param maxRows
* @text Number of rows
* @type number
* @desc The number of rows of icons you want to display.
* @default 1
*
* @param padding
* @text Window padding
* @type number
* @desc The amount of extra space you want from the edges of the window to where the icons are drawn
* @default 0
*
* @param hasBackground
* @text Show Windowskin
* @type boolean
* @desc Whether or not the icons should use the base Windowskin or be transparent
* @default false
*/

(function(module) {
    'use strict';

    // Polyfill for older versions of RPG Maker MV
    Array.prototype.find = Array.prototype.find || function(finderFunction) {
        for (var i = 0; i < this.length; i++) {
            var element = this[i];
            if (finderFunction(element, i, this)) { return element; }
        }
    };

    module.Zevia = module.Zevia || {};
    var parameters = PluginManager.parameters('StateIconWindow');
    var iconWidth = parseInt(parameters.iconWidth);
    var iconHeight = parseInt(parameters.iconHeight);
    var maxRows = parseInt(parameters.maxRows);
    var padding = parseInt(parameters.padding);
    var hasBackground = !!parameters.hasBackground.match(/true/i);

    if (isNaN(iconWidth)) { iconWidth = 28; }
    if (isNaN(iconHeight)) { iconHeight = 28; }
    if (isNaN(maxRows)) { maxRows = 1; }
    if (isNaN(padding)) { padding = 8; }

    var Window_StatusIconList = module.Zevia.Window_StatusIconList = function() {
        this.initialize.apply(this, arguments);
    };

    Window_StatusIconList.prototype = Object.create(Window_Base.prototype);
    Window_StatusIconList.prototype.constructor = Window_StatusIconList;

    Window_StatusIconList.prototype.initialize = function(battler, x, y, width) {
        var height = (this.lineHeight() * maxRows) + (this.standardPadding() * 2);
        Window_Base.prototype.initialize.call(this, x, y, width, height);
        this._battler = battler;
        this.opacity = hasBackground ? 255 : 0;
        this.deactivate();
        this.refresh();
    };

    Window_StatusIconList.prototype.standardPadding = function() {
        return padding;
    };

    Window_StatusIconList.prototype.canFitIcon = function(row) {
        return ((row.length + 1) * iconWidth) < this.contentsWidth();
    };

    Window_StatusIconList.prototype.setDisplayedIcons = function() {
        this._displayedIcons = this._battler.allIcons().reduce(function(iconRows, icon) {
            var availableRow = iconRows.find(function(row) {
                return this.canFitIcon(row);
            }.bind(this));
            if (availableRow) { availableRow.push(icon); }
            else {
                if (iconRows.length === maxRows) { return iconRows; }
                iconRows.push([icon]);
            }
            return iconRows;
        }.bind(this), []);
    };

    Window_StatusIconList.prototype.drawStateIcon = function(iconIndex, x, y, width, height) {
        this.contents.blt(
            ImageManager.loadSystem('IconSet'),
            iconIndex % 16 * Window_Base._iconWidth,
            Math.floor(iconIndex / 16) * Window_Base._iconHeight,
            Window_Base._iconWidth,
            Window_Base._iconHeight,
            x,
            y,
            width,
            height
        );
    };

    Window_StatusIconList.prototype.drawStateIcons = function() {
        this._displayedIcons.forEach(function(iconRow, row) {
            iconRow.forEach(function(icon, column) {
                this.drawStateIcon(
                    icon,
                    iconWidth * column,
                    iconHeight * row,
                    iconWidth,
                    iconHeight
                );
            }.bind(this));
        }.bind(this));
    };

    Window_StatusIconList.prototype.refresh = function() {
        this.setDisplayedIcons();
        this.contents.clear();
        this.drawStateIcons();
    };
})(window);
Well, that's definitely an issue, then. What version of RPG Maker MV are you using?

I'll include a polyfill for Array.prototype.find and see if that solves the issue.

In the meanwhile, either replace the contents of the Plugin with the following code or replace it with the version attached to this post.

Code:
/*:
* @plugindesc This is a tool that can be used by developers to create a window that just
* contains state icons for a given battler (Actors or Enemies).
* @author Zevia
*
* @help Create a new Zevia.Window_StatusIconList, passing in the battler whose state
* icons you want to display, the x-coordinate of the window, the y-coordinate, and
* the width of the window.
*
* For the number of rows specified in configuration, an icon will be drawn as long
* as it will fit on the row. If it won't, it will go to the next row, until the
* number of rows has been filled. At that point, no more icons will be drawn.
*
* Example:
* var harold = $gameParty.battleMembers()[0];
* var haroldIcons = new Zevia.Window_StatusIconList(harold, 0, 0, 150);
* SceneManager._scene.addWindow(haroldIcons);
*
* To refresh the window, call the refresh() method.

* @param iconWidth
* @text Icon width
* @type number
* @desc The width of the icons you want to display, in pixels.
* @default 28
*
* @param iconHeight
* @text Icon height
* @type number
* @desc The height of the icons you want to display, in pixels.
* @default 28

* @param maxRows
* @text Number of rows
* @type number
* @desc The number of rows of icons you want to display.
* @default 1
*
* @param padding
* @text Window padding
* @type number
* @desc The amount of extra space you want from the edges of the window to where the icons are drawn
* @default 0
*
* @param hasBackground
* @text Show Windowskin
* @type boolean
* @desc Whether or not the icons should use the base Windowskin or be transparent
* @default false
*/

(function(module) {
    'use strict';

    // Polyfill for older versions of RPG Maker MV
    Array.prototype.find = Array.prototype.find || function(finderFunction) {
        for (var i = 0; i < this.length; i++) {
            var element = this[i];
            if (finderFunction(element, i, this)) { return element; }
        }
    };

    module.Zevia = module.Zevia || {};
    var parameters = PluginManager.parameters('StateIconWindow');
    var iconWidth = parseInt(parameters.iconWidth);
    var iconHeight = parseInt(parameters.iconHeight);
    var maxRows = parseInt(parameters.maxRows);
    var padding = parseInt(parameters.padding);
    var hasBackground = !!parameters.hasBackground.match(/true/i);

    if (isNaN(iconWidth)) { iconWidth = 28; }
    if (isNaN(iconHeight)) { iconHeight = 28; }
    if (isNaN(maxRows)) { maxRows = 1; }
    if (isNaN(padding)) { padding = 8; }

    var Window_StatusIconList = module.Zevia.Window_StatusIconList = function() {
        this.initialize.apply(this, arguments);
    };

    Window_StatusIconList.prototype = Object.create(Window_Base.prototype);
    Window_StatusIconList.prototype.constructor = Window_StatusIconList;

    Window_StatusIconList.prototype.initialize = function(battler, x, y, width) {
        var height = (this.lineHeight() * maxRows) + (this.standardPadding() * 2);
        Window_Base.prototype.initialize.call(this, x, y, width, height);
        this._battler = battler;
        this.opacity = hasBackground ? 255 : 0;
        this.deactivate();
        this.refresh();
    };

    Window_StatusIconList.prototype.standardPadding = function() {
        return padding;
    };

    Window_StatusIconList.prototype.canFitIcon = function(row) {
        return ((row.length + 1) * iconWidth) < this.contentsWidth();
    };

    Window_StatusIconList.prototype.setDisplayedIcons = function() {
        this._displayedIcons = this._battler.allIcons().reduce(function(iconRows, icon) {
            var availableRow = iconRows.find(function(row) {
                return this.canFitIcon(row);
            }.bind(this));
            if (availableRow) { availableRow.push(icon); }
            else {
                if (iconRows.length === maxRows) { return iconRows; }
                iconRows.push([icon]);
            }
            return iconRows;
        }.bind(this), []);
    };

    Window_StatusIconList.prototype.drawStateIcon = function(iconIndex, x, y, width, height) {
        this.contents.blt(
            ImageManager.loadSystem('IconSet'),
            iconIndex % 16 * Window_Base._iconWidth,
            Math.floor(iconIndex / 16) * Window_Base._iconHeight,
            Window_Base._iconWidth,
            Window_Base._iconHeight,
            x,
            y,
            width,
            height
        );
    };

    Window_StatusIconList.prototype.drawStateIcons = function() {
        this._displayedIcons.forEach(function(iconRow, row) {
            iconRow.forEach(function(icon, column) {
                this.drawStateIcon(
                    icon,
                    iconWidth * column,
                    iconHeight * row,
                    iconWidth,
                    iconHeight
                );
            }.bind(this));
        }.bind(this));
    };

    Window_StatusIconList.prototype.refresh = function() {
        this.setDisplayedIcons();
        this.contents.clear();
        this.drawStateIcons();
    };
})(window);

okay it works now, let me set something up real quick.
edit:
2616b3cd0b6dc64ae9e2895257b884e8.png

So it works now, i just have to do some more editing of the hud to accommodate the stat window. This thread can be closed thank you Zevia.
if you want tricks for search script and type script in window.
upload_2019-1-13_17-55-35.png

Check search in file content, and you will can find easly whe method or string in all js files.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/what-is-the-name-for-the-window-that-holds-the-status-icons.104320/