An additional feature I am trying to implement in my campaign: my basic idea is that a certain character has several abilities that allow him to "transform" into another creature with certain abilities and stats(and a different sprite of course). Several different transformations exist, and he needs to be able to "save" his stats between transformations(will still have same health, energy, resistance, etc.). Since I don't have the map editor I'm missing a lot of the "Dialog" part of the campaign, but here's my attempt at a solution:
Since there is no way for an attack to directly change the class, appearance, or other attacks of a character, I found the "Dialog" section of the manual, with which I can set triggers and use them to run scripts which change my character.
One such trigger, called "OnAttackSelect" can be used to watch for a specific attack to be used(this attack is specific to the character using it), and run a script containing several actions as follows:
There is an action called "ChangeCharClass nameOfChar,nameOfClass,nameOfSprites" which can be used to change the name and appearance of the character. Another action, "TeachAttack" can teach an Attack to a character. A third action, "SetStat" can be used to modify or set the health, energy, etc. of the character in case the transformation adds some stat bonus.
Possible issues with this method seem to be that there is no way to "remove" an attack from a character, at least not with any actions I have looked over. For anyone who has some experience working with scripts/dialog actions, do you think this method will work successfully? Are there any other problems that I'm not seeing that could be an issue?
Since there is no way for an attack to directly change the class, appearance, or other attacks of a character, I found the "Dialog" section of the manual, with which I can set triggers and use them to run scripts which change my character.
One such trigger, called "OnAttackSelect" can be used to watch for a specific attack to be used(this attack is specific to the character using it), and run a script containing several actions as follows:
There is an action called "ChangeCharClass nameOfChar,nameOfClass,nameOfSprites" which can be used to change the name and appearance of the character. Another action, "TeachAttack" can teach an Attack to a character. A third action, "SetStat" can be used to modify or set the health, energy, etc. of the character in case the transformation adds some stat bonus.
Possible issues with this method seem to be that there is no way to "remove" an attack from a character, at least not with any actions I have looked over. For anyone who has some experience working with scripts/dialog actions, do you think this method will work successfully? Are there any other problems that I'm not seeing that could be an issue?