- Home /
Is there a way to display certain text/lines automatically based on set criteria?
For example, I have a text file containing 100~ character feats. On the character page, I have a drop down (where players select their feat) and a connected button that will display text based on which value the drop down is set to.
Is there a way to set this informational text to automatically display the corresponding text info? Currently I have an array of lines, and am manually setting an if statement to display specific lines within the array, and it is very time consuming.
For example:
If the drop down is set to value 2, the feat "Boundless Energy," is there a way to display all the text starting with "---Boundless Energy---" through "---End---" without hardcoding which lines/text to display?
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Remove the & at the end of concatenated string 0 Answers
Ui text to string ? 1 Answer
Distribute terrain in zones 3 Answers
String.Remove not working 1 Answer