Unsummon Actor causes ... "error"

Soulrender

Jack Of All Trades
Veteran
Joined
Jan 12, 2019
Messages
836
Reaction score
466
First Language
Poland
Primarily Uses
RMMV
I'm actually lost and I can't figure out, what's going on so I'm asking you for help.

I have installed SRD_SummonCore.js plugin wich as you know, allows to summon an actor to battlefield.
Summoning works fine, but, when the actor is beign unsummoned, game simply just crashes with following error:

I'm using MV 1.6.2

Edit: OK. I made - needless to say - patch, by simply removing this method from YEP_X_AnimatedSVEnemies.js plugin:

Code:
Sprite_Animation.prototype.updateSvePosition = function() {
  if (typeof this._target.parent._battler != 'undefined' && this._target.parent._battler.isEnemy() && typeof this._target.parent._mainSprite != 'undefined'){
    if (this._animation.position !== 3) {
      if (this._animation.position === 0) {
        this.y += this._target.parent._mainSprite.height - this._target.parent.texture.height;
      } else if (this._animation.position === 1) {
        this.y += (this._target.parent._mainSprite.height - this._target.parent.texture.height) / 2;
      }
    }
  }
};
however I'm not sure I've done right thing. (but works)
 
Last edited:

Rugman

Veteran
Veteran
Joined
Jun 11, 2020
Messages
145
Reaction score
37
First Language
English
Primarily Uses
RMMV
I was having the same issue and ended up removing the summon plugin because of it. I’ll be sure to test this out.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,338
Reaction score
8,526
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

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

Latest Threads

Latest Profile Posts

Haired slime? Trying some different styles of art. Maybe I can make some resources with this new kind of painting.......
i love my game very much
Uh, I'm probably overthinking this, but I think that some of my music sounds kinda...bad?
The melodies are just sort of awkward, and don't flow.
I'm really not sure what to do. Why am I even worrying about this? I don't even have a battle system yet!
And the Lord said, let there be lighting effects! And there were lighting effects! And it was good...ish? Might tweak this some more.
Today was a day of good things! Thank you fate! I pray to the darkness that those that read this will enjoy a good day as well! Power to the gam mak.

Forum statistics

Threads
105,721
Messages
1,015,903
Members
137,401
Latest member
Rubbun
Top