AaronPwner
Member
- Reaction score
- 0
I am learning how to make triggers before I decide to create a game, and one of them I am making is a quest that can change every game (the quest item is different) and I have an array with 5 items to collect, and every game it randomly selects one via a variable named FruitChoice which is set by Math : Random Number btwn 1 & 5, however every single testing it seems to stay on #4 a Blueberry.
Help?
PS: This is only the related code, there is much more, obviously, ask if you need to see anything else. (I don't want to type all that code out!)
Trigger:
- Set my4FruitChoice = (Random integer number between 1 and 5)
- Quest - Display to (All Players) the Quest Message: |cffffcc00The King wants you to collect: +my4FruitArray[my4FruitChoice])
Help?
PS: This is only the related code, there is much more, obviously, ask if you need to see anything else. (I don't want to type all that code out!)