So I am having a weird issue with random items being awarded when an event is triggered.
What I want to happen is:
Actor opens a chest
The engine randomly cycles through possibilities of items to be given
Engine picks an Item
Game text tells what Item you have gotten
Appropriate Item appears in inventory
So I got everything to work except for it to tell me the appropriate item.
It just gives me the variable but not the actual item.
The item does appear in inventory like it should but the name of the item does not show up in the message box.
The code I am using is here
And here is what I normally get
The part of the code that awards money works fine. Its just the items that I am having an issue with.
I appreciate any help I receive from this.
What I want to happen is:
Actor opens a chest
The engine randomly cycles through possibilities of items to be given
Engine picks an Item
Game text tells what Item you have gotten
Appropriate Item appears in inventory
So I got everything to work except for it to tell me the appropriate item.
It just gives me the variable but not the actual item.
The item does appear in inventory like it should but the name of the item does not show up in the message box.
The code I am using is here
And here is what I normally get
The part of the code that awards money works fine. Its just the items that I am having an issue with.
I appreciate any help I receive from this.