So I want transformation to be like this:
- Player uses Skill in battle/ out of battle
- That skill gives him state (in this case - Super Saiyan)
- That state will stay if player wants
- But sprite must change (in this case - to a Super Saiyan)
Is there a way to do that? To change sprite after battle as much as a player wants it (if possible with an animation)
I tried via creating alt. actor, but I dont know how conditions work
Default battles do not have a sprite, so you have to be using a custom battle script to get a sprite displayed in battle.
Yes, there might be solutions - but they depend on what battlescript you're using, because each of the solutions I've heard of is for a different battlescript (and not all battlescripts have a compatible other script to solve this).
Please link us to the battlescript you're using, and then we can give you an answer - without that link the answer is impossible.
There is a simple solution to this. First, as you have done, you create an alternate actor. Then you call a common script that swaps the actor (I'd suggest a large fancy animation to distract the audience since in-battle this means the original actor runs off-screen and the alternate runs back in their place) and the new actor has a different battle sheet set up. You can even include dialogue and other events in the common event)
Keep in mind though you will have an issue with XP though, unless you turn on XP sharing (don't remember the specific checkbox but it's in the game settings or system DB tab) then the main/alt character will end up with a different level than each other (and can end up with the "powered up" character being so week he's useless as the game progresses)
My sugestion is, instead of another actor, creating another class and changing the original actor's class, then changing his charset.
Yeah, I just thought there is Script that would allow to select Common Events when specified State is activated, that way I could easily do it.
THANK YOU ALL! I DID IT!
So, I made two common events (SuperSayianGoku / Changeback) and State "Super Saiyan"! Then I made Skills with name as same as Common Event, connected it all together, works fine !!
WORKS PERFECT IN BATTLE!