Jump to content
Sign in to follow this  
Inzy

Event conditions based on chance,

Recommended Posts

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

$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. 

 

rpgmakercentralhelp.png

Share this post


Link to post
Share on other sites

$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. 

rpgmakercentralhelp.png

Edited by Arrpeegeemaker

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted