Moghunter character selects ALL actors

● ARCHIVED · READ-ONLY
Started by Krawzer_KOF 4 posts View original ↗
  1. Moghunter character select plugin displays ALL actors in the database, while I just want some specific actors to appear in the selection screen. The specific actors would have to appear only when they are unlocked (switch turned on). I tried to modify this line but it didn't work at all (added 1,2,3 in red).

    spoiler
    Scene_CharSelect.prototype.initialize = function() {
    Scene_Base.prototype.initialize.call(this);
    this._index = 0;
    this._ActorIndex = -1;
    this._party = [];
    this._partyIndex = 0;
    this._partySel = [];
    this._actors = [1,2,3];
    this._pi = 2.0 * Math.PI;
    this._np = [0,0];
    this._rol_range = Moghunter.charSel_rolRange;
    this._phase = [0,0];
    this.loadFiles();
    this.createSprites();
    };

    Does someone know how to customize moghunter plugin to achieve that result?
  2. That array you added won't be recognized with the way Mog has it coded.

    There is a plugin parameter Hide Actor IDs that you should be able to use to exclude any actors you don't want to show in the menu.
  3. Thank you so much! Had no idea it was that simple... my bad. Is there a way to create a plugin command that could add or hide an actor in the selection during the game?
  4. You'd have to add more lines of code and a new parameter and/or command. I'm not sure how to do that lol