I think it's not working for him because he might be using the script call outside of battle. I tried your script call in battle and it works.
Skill Set Variable
RPG Maker MV Supportyes i am sure i just double checked and it still doesnt work
yeah im not using it in battle
This check does only work in battle.
So, where do you want to use the skill then? Menu, Battle, or both?
So, where do you want to use the skill then? Menu, Battle, or both?
its to be used outside of battle from the menu
Okay, then try this:
Code:
$gameParty.menuActor().lastMenuSkill() && $gameParty.menuActor().lastMenuSkill().id === 48
that sent out the "works" branch! thank you so much for helping me with this!
@waynee95 what would the script look like if it were checking for the last used item?
@waynee95 thanks it works like a charm!
Original thread: https://forums.rpgmakerweb.com/threads/skill-set-variable.83051/