I made a randomized chest and it works perfectly when i have one item type of item inside, i just /lastgainobj
the problem is when i do 2 different items per a chest how do i display in the message of the second item gained.
i did try
$gameMessage.add(`You Found \\item[$gameVariables.value(257)].`);
but i just literally get back in text "You Found \item[$gameVariables.value(257).
so i tried Visustella \Item[$gameVariables.value(257)] right in the message box and still got the same thing.
can some one please help me clear this up
the variable 257 is returning different values to use \item to display corresponding Item name in text
i am not trying to create a giant list of IF statements to match up with all the different loot.
the problem is when i do 2 different items per a chest how do i display in the message of the second item gained.
i did try
$gameMessage.add(`You Found \\item[$gameVariables.value(257)].`);
but i just literally get back in text "You Found \item[$gameVariables.value(257).
so i tried Visustella \Item[$gameVariables.value(257)] right in the message box and still got the same thing.
can some one please help me clear this up
the variable 257 is returning different values to use \item to display corresponding Item name in text
i am not trying to create a giant list of IF statements to match up with all the different loot.