So, I am working on a game that allows the player to choose their character and when they level up, one of the functions is they receive a random skill. I've cobbled together a piece of scripting that works for assigning the skill, but I want a message box to appear telling the player which skill they got, and I can't figure it out...this is the script for adding the skill.
var skill = $gameVariables.value(96);
var actor = $gameVariables.value(12);
$gameActors.actor(actor).learnSkill(skill);
Need help with a message problem...
● ARCHIVED · READ-ONLY
-
-
Perhaps
$gameMessage.add($dataSkills[skill].name + " learned!")
but I'm not at home, so cannot confirm. -
You're freaking awesome! Works like a charm. It took me two hours to figure out the first part and I gave up on the message part after another hour!