| 06-21-2004, 12:39 PM | #1 |
Hi, everyone! I'm a newbie to modding WC3 and TFT. What I love about WC3 is the atmosphere, but anyway. Could someone tell me how to do a simple quest like: (hero) destroys (crates i.e.) = quest completed Hope someone can help this newbie ;-) plus, can I use quests in multi-player maps? |
| 06-21-2004, 04:45 PM | #2 | |
Quote:
Yes Quests can be used in MP maps.. First, you have to create a quest. So you will make this trigger, but you need to make a variable called quests and it will be the quests (array) variable. If there is a size, change the size to like how many quests you got. Then make another quests called UnitObjectiveQuests (or whatever) and it will be a unit (array variable). E: Map Initialization A: Create a (Required or Optional) quest title (Whatever you want the title to be) with the description (this should be explaining what the quest is) using icon path (you can use any icon) Set Quests(1) = Last created quest. Set UnitObjectiveQuests (1) = (if the crates aren't owned by players, make another (array) variable called DoodadObjectiveQuests for doodads. Change this "Set UnitObjectiveQuests" to your new doodad variable. and then set it to the crates) E: DoodadObjectiveQuests(1) dies (destructible dies) A: Mark Quests(1) as completed. (Quest Message) Display to All players the Quest Completed message: (put anything you want the players to see knowing its completed) Flash Quests dialog menu. |
| 06-21-2004, 10:54 PM | #3 |
Thanx alot for that! I was just wonderingm could you tell me how i split a quest in severel parts, like if I have four cages and I want the quest to be completed when all four are destroyed? // |
| 06-22-2004, 01:14 AM | #4 |
I just made a reply to this question on another thread. Try looking for it. |
