A Prince's Tale

Discussion and development of scenarios and campaigns for the game.

Moderators: Forum Moderators, Developers

l'ultimo cruco
Posts: 86
Joined: May 9th, 2004, 1:24 pm
Location: Rome, Italy

Post by l'ultimo cruco »

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.
...
I'm no coder, but I think you should be ok with a "die event":

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.

waw
Posts: 162
Joined: August 8th, 2007, 1:08 am

Post by waw »

Awesome, thanks a bunch.
What would you give for your freedom?

User avatar
Iris
Site Administrator
Posts: 6629
Joined: November 14th, 2006, 5:54 pm
Location: Chile
Contact:

Post by Iris »

l'ultimo cruco wrote: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)...
Malifor, not Malfagor, AFAIK.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.

Post Reply