Inzy 0 Posted October 29, 2020 Hello everyone, I've seen an old topic about that subject, explaining how to create an event conditions based on chance. Unfortunatly the topic is now closed, and as a newbie on RPG Maker MV and here on the forum, i'm writing cause i need more informations. I would like to use "Luck" as a lockpicking ability, trough events that will check the luck stat of all the party members . A simple check of the stats like : If luck ≥ x ; then you win an object for exemple. I've found that script : $game_party.members[0].luk But i don't how and where to use it exactly through events.. Thanks a lot for reading me. here is the old topic. Share this post Link to post Share on other sites
Arrpeegeemaker 136 Posted October 30, 2020 $gameParty.members[position].luk When position is replaced with the 'index' of the party member (starting at 0), that script call returns that party member's luk. Use a control variable call, and click on the script portion at the bottom. Ideally, you'd want to loop, so this would check all party members that you have when this is called This might not do exactly what you're asking, but we can tweak it to do so. Share this post Link to post Share on other sites
Arrpeegeemaker 136 Posted October 30, 2020 (edited) $gameParty.members()[position].luk When position is replaced with the 'index' of the party member (starting at 0), that script call returns that party member's luk. Use a control variable call, and click on the script portion at the bottom. Ideally, you'd want to loop, so this would check all party members that you have when this is called This might not do exactly what you're asking, but we can tweak it to do so. Edited October 30, 2020 by Arrpeegeemaker Share this post Link to post Share on other sites
Inzy 0 Posted November 5, 2020 Thank you so much for your answer Arrpeegeemaker Share this post Link to post Share on other sites