I have all the visustellas and I haven't been able to find a way yet. I want something the old Final Fantasys like Toad or Mini that changed the character's sprite.
MZ Is there a way to change the battler sprite via a state?
Javascript/Plugin Support@Trihan gives some examples of how you can do actor and enemy transformations in this thread. However, for both examples, I would recommend replacing every instance of "user" with "target".
Ok I will try that thank you.
So I looked at that code and it seems to be for actors only. I am looking for something that works on both enemies and actors, and changes their graphic to a specific sideview battler sprite, the same for either enemy or actor (just facing a different way for enemies)
Huh?
By default, there is no way to simply change an enemy's sprite, as it's hard-coded into their database entry. If you're using VisuStella's Battle Core to use SV battlers for enemies, that probably adds properties to change that, but the code is obfuscated so we don't know how and can't access it.
So transforming the enemy is what you can do.
Well what I was getting at was that different code is needed for actors and enemies, so I guess I'd have to make a separate enemy and actor skill to apply separate states. Just did not want to have to do that.
If you don't know how to read what you're looking at, it makes much more sense to ask before deciding something doesn't work for you. 😛
It's a single line of code to see whether the target is an actor or an enemy and execute the appropriate commands.
I know how to read. Can you quit with the passive aggressiveness? What did I ever do to you?
You clearly don't know how to read the code there, or you would be able to write a basic conditional.
I offered some basic troubleshooting logic, to ask instead of assuming things that delay you by a week.
If you think that's passive aggressive, then (aside from you not knowing what that means) I won't respond to you anymore.
Good luck with your project.
I offered some basic troubleshooting logic, to ask instead of assuming things that delay you by a week.
If you think that's passive aggressive, then (aside from you not knowing what that means) I won't respond to you anymore.
Good luck with your project.
In point of fact, Trihan's code already has the checks built in. 🤣
All you would have to do is wrap the Actor Transformation On Erase code inside of
And then copy and paste so that both of the On Add snippets are in one notetag, and vice versa with On Erase.
All you would have to do is wrap the Actor Transformation On Erase code inside of
if (target.isActor()) { } the same way the the Enemy Transformation is wrapped in if (target.isEnemy()) { } And then copy and paste so that both of the On Add snippets are in one notetag, and vice versa with On Erase.
Why is reading comprehension so difficult for people these days?
Really? I did read it and the actor and enemy scripts were different. Like i explained, i would have to make 2 skills, which i didnt want to do.
Not talking about Trihan's thread. @ATT_Turan actually posted pertinent things, but you ignored him in favor of claiming he was being passive aggressive. The post of his before my last one even straight up tells you what you need.
And like I tried to explain, you would not.
Except when I tried to point out that you were making assumptions without having the prerequisite coding knowledge for them to be correct, you flew off the handle at me.
Just because two pieces of code are different doesn't mean at all that they can't be used together in one skill/state.
Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-change-the-battler-sprite-via-a-state.164169/