Discussion and development of scenarios and campaigns for the game.
I'm no coder, but I think you should be ok with a "die event":waw wrote:...
Now, when you fight Evil, I would like him to die, and reappear in a second form, and then a third form. But that's sorta hard for me, not sure how to code it.
if EVIL - 1st form is killed
then create EVIL 2nd form
change win objectives,etc
same for the 2nd to 3rd form
In "Northern rebirth" there is for sure some code you could use:
If you kill a certain lich ("Malfagor" is the lich, "The Pursuit" is the scenario) with anything but a white mage, then the lich is simply "reborn" in another location. If you browse through the code, you should find it a die event(s), which prevents any other unit to kill him.
Starting from that you could work out what you need.
Hope this helps.