HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How can I make professional looking quests

07-06-2003, 05:30 PM#1
Loren_3000
I'm having some trouble making my quests work. Take a look at how i've made this quest as an example then read at the bottomb what I need help with.

My Quest...

---Guldar1---
Events: A unit comes within 200 of unit "Guldar".
Conditions: Entering unit is (a hero) equal to true
Owner of (entering unit) equal to (user) equal to true
Actions: Make unit (Guldar) face (entering unit) over 1.00 seconds
Game: Display to all allies of owner of entering unit: "go slay the dragon"
Quest: Create an optional quest titled "dragon" with the description "go slay the dragon" and icon path "blah".
Quest: mark last created quest as discovered
Quest: Flash the quest dialog button
Trigger: turn off this trigger
Trigger: turn on Guldar2

---Guldar2---
Events: A unit comes within 200 of unit "Guldar".
Conditions: Entering unit is (a hero) equal to true
Owner of (entering unit) equal to (user) equal to true
Actions: Make unit (Guldar) face (entering unit) over 1.00 seconds
Game: Display to all allies of owner of entering unit: "what? you haven't slayed the dragon yet? well go slay him already."
Quest: Flash the quest dialog button

---Quest Change 1---
Events: A unit owned by player 11 dies
Conditions: Dying unit is (blackclaw the dragon)
Actions:
Game: Display to all allies of owner of killing unit: "You have slayed the dragon, return to Guldar for a reward".
Quest: Change the description of "dragon" to "return to Guldar for a reward".
Quest: Flash the quest dialog button
Trigger: turn off Guldar2
Trigger: turn on Guldar3

---Guldar3---
Events: A unit comes within 200 of unit "Guldar".
Conditions: Entering unit is (a hero) equal to true
Owner of (entering unit) equal to (user) equal to true
Actions: Make unit (Guldar) face (entering unit) over 1.00 seconds
Game: Display to all allies of owner of entering unit: "here is your reward"
gold, items, whatever... ;)
Quest: Flash the quest dialog button
Quest: Change the description of "dragon" to "Quest Completed"
Trigger: turn off Guldar3
Trigger: turn on Guldar4

---Guldar4---
Events: A unit comes within 200 of unit "Guldar".
Conditions: Entering unit is (a hero) equal to true
Owner of (entering unit) equal to (user) equal to true
Actions: Make unit (Guldar) face (entering unit) over 1.00 seconds
Game: Display to all allies of owner of entering unit: "thanks again, see you"

Doing it like this, I have three problems. Firstly, for some reason the quest descritpion is not changing at all. Am I doing something wrong? Secondly, I can't seem to grasp doing transmissions and making them look like war3 cut scenes and you can see their picture talking as you get the quest.

Lastly, I have a map where there is two groups of players and don't want them both to be able to see the quest log. Is there a way to disable the quest log or better yet have two quest logs?
07-06-2003, 05:45 PM#2
HeX-MapMaker
It apprears to me that although you have created a variable of type Quest called dragon, you have not linked that variable to any particualr quest.

You should consider adding the following line under your trigger named Guldar1.
Events:
&nbsp&nbsp&nbspQuest: Create an optional quest titled "dragon" with the description "go slay the dragon" and icon path "blah".
&nbsp&nbsp&nbspSet dragon = (Last Created Quest) <--- add this line
&nbsp&nbsp&nbspQuest: mark last created quest as discovered
07-06-2003, 06:14 PM#3
LordAllout
Originally posted by Loren_3000
I'm having some trouble making my quests work. Take a look at how i've made this quest as an example then read at the bottomb what I need help with.

My Quest...

---Guldar1---
Events: A unit comes within 200 of unit "Guldar".
Conditions: Entering unit is (a hero) equal to true
Owner of (entering unit) equal to (user) equal to true
Actions: Make unit (Guldar) face (entering unit) over 1.00 seconds
Game: Display to all allies of owner of entering unit: "go slay the dragon"
Quest: Create an optional quest titled "dragon" with the description "go slay the dragon" and icon path "blah".
Quest: mark last created quest as discovered
Quest: Flash the quest dialog button
Trigger: turn off this trigger
Trigger: turn on Guldar2

Well if you have two groups of players, although I don't fully understand what you meant by that, create two player groups, one called DragonQuest and other DragonQuest2. Also do what HeX-MapMaker said and set dragon to last created quest. Also dont add the Trig - turn off (this) and Trig - Turn on (blah) keep all the quest trig enable. Add condition owner of entering unit is not in player group dragonquest and dragonquest2 and blackclaw the dragon is alive. Add action Player Group - Add owner of entering unit to playergroup DragonQuest. Also if you want cinematic, use cinematic triggers instead of game message all or whatever.

---Guldar2---
Events: A unit comes within 200 of unit "Guldar".
Conditions: Entering unit is (a hero) equal to true
Owner of (entering unit) equal to (user) equal to true
Actions: Make unit (Guldar) face (entering unit) over 1.00 seconds
Game: Display to all allies of owner of entering unit: "what? you haven't slayed the dragon yet? well go slay him already."
Quest: Flash the quest dialog button

Add conditions; owner of entering unit not in player group DragonQuest2 and owner of entering unit is in player gropu DragonQuest. Once again if you want cinematics, use cinematics triggers.

---Quest Change 1---
Events: A unit owned by player 11 dies
Conditions: Dying unit is (blackclaw the dragon)
Actions:
Game: Display to all allies of owner of killing unit: "You have slayed the dragon, return to Guldar for a reward".
Quest: Change the description of "dragon" to "return to Guldar for a reward".
Quest: Flash the quest dialog button
Trigger: turn off Guldar2
Trigger: turn on Guldar3

Add conditions, owner of killing unit is in player group DragonQuest. Remove action Trig- Turn on and Trig- Turn on.

---Guldar3---
Events: A unit comes within 200 of unit "Guldar".
Conditions: Entering unit is (a hero) equal to true
Owner of (entering unit) equal to (user) equal to true
Actions: Make unit (Guldar) face (entering unit) over 1.00 seconds
Game: Display to all allies of owner of entering unit: "here is your reward"
gold, items, whatever... ;)
Quest: Flash the quest dialog button
Quest: Change the description of "dragon" to "Quest Completed"
Trigger: turn off Guldar3
Trigger: turn on Guldar4

Add condition owner of entering unit is in player group DragonQuest. Add condition blackclaw the dragon is dead equal to true. Remove the actions Trig- Turn off Trig - Turn on. Add action remove owner of entering unit from palyer group DragonQuest and add owner of entering unit to DragonQuest2. Once again if you want cinematic, use cinematic triggers.

---Guldar4---
Events: A unit comes within 200 of unit "Guldar".
Conditions: Entering unit is (a hero) equal to true
Owner of (entering unit) equal to (user) equal to true
Actions: Make unit (Guldar) face (entering unit) over 1.00 seconds
Game: Display to all allies of owner of entering unit: "thanks again, see you"

Add condition owner of entering unit is in player group DragonQuest2

Doing it like this, I have three problems. Firstly, for some reason the quest descritpion is not changing at all. Am I doing something wrong? Secondly, I can't seem to grasp doing transmissions and making them look like war3 cut scenes and you can see their picture talking as you get the quest.

Lastly, I have a map where there is two groups of players and don't want them both to be able to see the quest log. Is there a way to disable the quest log or better yet have two quest logs?

I may have messed up something, reply back if you have any problems.