| Tutorial: | DBS - Transformations: Revert After X Turns |
| Difficulty: | Intermediate |
| RPG Maker: | 2003 |
| Author: | Thejackyl |
This Tutorial is meant as an add-on to the DBS - Transformations: The Basics tutorial.
Limited Transformation
Well, let's say when the hero transforms, he/she becomes so awesomely powerful that you need to limit the time span they stay transformed.
What you'll need
1. 2 Battle Events
2. 1 Variable (Transturns/TT)
Let's say you want the transformation to last 4 turns
Battle Event One - Turn counter
Trigger: Anything that activates every turn
If Switch Transformed is ON
<>Variable TT +1
<>End
End
Battle Event Two - Revert
Trigger:If Variable TT =< 5(Activates the turn you revert, which would be turn 5 in this case)
<>Run CE keepform
<>Switch Transformed OFF
<>End
That should work, and remember, if you didn't follow my other Transformation Tutorial "Transformation 101" than implement your way of transforming into my coding.
If you did follow my other Transformation tutorial, this is based on the second, or "Hard Method"
Good Luck on your projects
Click to Return to the Tutorials Page