• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Showing a variable's content into quest tab?

Status
Not open for further replies.
Level 4
Joined
May 17, 2011
Messages
106
Is that even possible?

I'm doing a quest where people have to kill a certain amount of units (20 trolls, 20 satyrs, etc.) and I want it to be shown in the quests tab. For each kill, it would show the number of units killed in the description.

Now all I want to do is show the content of my unit's variable into that description, is this possible without doing a quest update each time?

Thanks!

Edit: It has to show the variable's content and when it reaches 20 unit kills, it would show something like: Kill 20 trolls - Completed.
 
Not possible without changing the quest description, luckily that's easy to do:

  • Untitled Trigger 113
    • Events
      • Unit - A unit Dies
    • Conditions
      • Some condition to check that the dying unit is a quest unit
    • Actions
      • Quest - Change the description of *quest*to *description*
Turn this trigger on when you get the quest, turn it off when the quest is completed. For the description, use concatenate strings and then integer to string conversion.
 
Yeah the problem is that I have multiple conditions for my quests so that's not going to be possible at all since I don't know what kind of units people are going to kill first... Okay well thanks anyway I guess this thread can be closed.
 
Okay here's an example

For my quest, people have to kill trolls, furbolgs and satyrs.

If I make an update for my quest, it's gonna be something like

(troll's variable) trolls killed.
(furbolg's variable) furbolgs killed.
(satyr's variable) satyrs killed.

Lets say this. There are 4/20 trolls killed, 7/20 furbolgs and 2/20 satyrs.

How is the trigger supposed to know how many furbolgs and satyrs are dead when it adds +1 to the trolls? I can't just add the variable as text and hope it turns into a number to show the quester how many kills he got for each type of unit. Understood?

Just to make sure you understand, I want this to be shown in the quest tab ( F9 ), not on the screen.

Edit: I feel like I'm missing something but at the same time I feel like I can't do it... am I right? or do I really miss something here? oO
 
Status
Not open for further replies.
Back
Top