So im making a game on vx ace, and I need some help. Basically I have a skill that lets the suer transform, and it increases their stats, the problem im having is that I have 3 forms, and I want it to be so you have to be in the first from to transform into the second form, and you have to be in the second form to activate the third form. ive got the forms working correctly, and ive tested them in battle, everything works, I just need to be able to restrict the use as I mentioned above. also im kinda new to this, but have moderate experience, so no super advanced stuff please.
If there are any scripts that can help me do this, please let me know. Thankyou in advance ^_^
What are the forms - different classes? States? How do you know what form you're currently in?
I'd be looking at something like 3 different skills, and making each one only available to one form. How you do that depends on how your 'forms' are implemented.
ok, basically the forms are states, and I have a skill which adds that state, I am using a script which changes your characters battle graphic dependent on what skill you have. I'll look into that different classes one.
If the forms are states, then you give each state a feature "add Skill" for those skills.
For example, if the actor has to be in the second state to use the skill "ultra transform" to gain the third state, then you add that skill to the second state as a feature. Then the skill will only be available to the user if the actor is in the second state.
ahhh, that fixes that, but brings up a new problem, the hero, over the course of the story attains new forms, the problem is, if I use a command to give him a form during gameplay, then that form will be able to already transform to the next... unless... I make a separate state that doesn't allow this. woul that work??
So you're looking at a different skill for each form you want to give your character. Whether you need 3 skills (and states) or 4 depends on what you want them to be able to do when they're in the third form - if they can change back to 'no form', you'll need 4 states (one for 'no form' which has a skill to change them to form 1, and which you should apply to your character via 'change state' as soon as you want them to be able to start changing); if they go from form 3 back to form 1, you'll only need 3 of each.
You don't need to look at classes for this.
[edit (after your last post)] - so you don't want them to be able to change forms straight away after changing into the current form? Then you might just need to not worry about the states at all, and have separate skills - at the appropriate time, use the Change Skills event command to give them the new skill, and again to remove the one they should no longer have, rather than linking the skill to the form itself.
ok, thankyou both so much for your help, I have now solved the problem.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.