Print quest into quest log
Hello guys, I would like some help please. I have been stuck on this script for a month now, and yes I have read many examples but I cannot find a solution for my problem. Here is what I am stuck on. I have 3 text boxes that I put in an array to display my quest's information when the quest is active. However, it is not hard to do Array[0].text = "quest information," but when I get the 2nd quest, I want the 2nd quest display in the second text box, which can be if(array[0] != ""), array[1].text = "2nd quest info." The problem is when I finish the quest, Since I don't know which quest will have which text, how can I erase the finished quest. So I thought to give each quest a var questOrder : int; the questOrder can go from 1 to max quest, and I want to do an array to search for the lowest questOrder and if it is active, then put the lowest to the first box, and 2nd lowest to the middle box, and highest to the 3rd box. When I finish the quest, I want it to update the boxes so if I finish quest 1, the quest information on box 2 and 3 will be 1 and 2. Please help, I read so much but I cannot find a solution.
Your answer
![](https://koobas.hobune.stream/wayback/20220612062802im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
C# ArrayList Accessing and RemoveAt? 0 Answers
Remove values of one array from another C# 1 Answer
Find all plants and add their x,y,z in arrays not working. [Solved] 0 Answers
Button locking/unlocking for loop using an object array & playerprefs 1 Answer
Assigning a different material to different objects 2 Answers