• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Better Quest Description

Status
Not open for further replies.
Level 5
Joined
Dec 21, 2012
Messages
89
I want to do better Quest Description, so far I how it looks

224613-albums6848-picture77603.jpg


I want to improve to look like that but I don't know how to do that

224613-albums6848-picture77604.jpg

 
Level 28
Joined
Sep 26, 2009
Messages
2,520
Ah I see you changed them :D
It's "Quest Requirement"
  • Quest - Create a quest requirement for *Your quest* with the description *Your requirement*
In case of the second picture, the requirement is a bit more complicated, as it changes with each killed wolf.

This is how it looks like when set up:
  • Quest - Create a quest requirement for (Last created quest) with the description Slay 15 wolves (0/1...
  • Set quest_req = (Last created quest requirement)
with "quest_req" being a "quest requirement" variable.

You need another variable - an integer variable, which counts number of killed wolves. In the example it will be called "wolves_killed" and start at 0.

Now when you kill a wolf for the quest, the trigger would look like this:
  • Set wolves_killed = (wolves_killed + 1)
  • Quest - Change the description of quest_req to (Slay 15 wolves ( + ((String(wolves_killed)) + /15)))

so let's say you kill the first wolf. As I said, the variable "wolves_killed" starts at 0, so the trigger will do this:
Set wolves_killed = (wolves_killed + 1) => which is 0+1 => wolves_killed will have value 1

And the quest requirement will be changed into
(Slay 15 wolves ( + ((String(wolves_killed)) + /15))) => since wolves_killed is 1, it will be "Slay 15 wolves (1/15)"
 
Status
Not open for further replies.
Top