In party but don't follower

Indsh

Veteran
Veteran
Joined
Oct 11, 2015
Messages
225
Reaction score
65
First Language
English
Primarily Uses
N/A
I would like to make one of my party members a follower and the other not, I can't just change opacity as follower(1) creates an invisable barrior and would like the physicality of follower(0) to remain the same.

3 party members, one follower, one who is not.

Any info would be helpful
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,248
Reaction score
1,250
First Language
Spanish
Primarily Uses
RMVXA
Code:
Game_Followers.prototype.initialize = function() {
    this._visible = $dataSystem.optFollowers;
    this._gathering = false;
    this._data = [];
    for (var i = 1; i < $gameParty.maxBattleMembers(); i++) {
        this._data.push(new Game_Follower(i));
    }
};
Code:
 for (var i = 1; i < $gameParty.maxBattleMembers() - 1; i++) {
     this._data.push(new Game_Follower(i));
 }
if you want the last one to not appear, just don't put it in the followers' queue -> make the iterator end one loop before the maximum number of followers.


I did something similar in ace, where I wanted only 3 members on screen, for only one scene.... so, I just went and redefined the followers queue.

Code:
  def initialize(leader)
    @visible = $data_system.opt_followers
    @gathering = false
    @data = []
    @data.push(Game_Follower.new(1, leader))
    (2...3).each do |index|
      @data.push(Game_Follower.new(index, @data[-1]))
    end
  end
 
Last edited:

Indsh

Veteran
Veteran
Joined
Oct 11, 2015
Messages
225
Reaction score
65
First Language
English
Primarily Uses
N/A
I was just in the same place looking, I'm going about it with a

'!==(n)' in the 'for' case

Its diffentlywork, now just to make it switchable...thanks for you help @gstv87 !!!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,074
Members
137,578
Latest member
JamesLightning
Top