PDA

View Full Version : My Campaign


gigi05
08-21-2005, 10:28 PM
I am working on a campaign, but i need help making a few quests and restoring Hero's. How do you make a quest where you have to kill 2 units and how do you restore a Hero from a previous map? Once it is finished I will send it to anyone who wants it. I will post a reply once it is finished.

XZminX
08-22-2005, 5:29 PM
For transitioning units across different maps, use Game Cache actions, you need to create game cache, name it with correct extension (it is there). At the end of the map store your hero in last created game cache and save that game cache.
On next level open the previous game cache and restore your hero. Then open new game cache where you will store hero from that map.

For quest, add to initialization trigger: Quest - create quest named ...blah blah blah
Another trigger
Event
Unit owned by XX dies
Conditions
(check of unit 1 is dead)
(check if unit 2 is dead)
Actions
Quest - Mark "quest name" as completed
(and whatever you imagined would be right)

gigi05
08-22-2005, 6:16 PM
Thanks for the help.