Hello all,
I'm new to the forums and I'm hoping someone here might help me figure this out. I'm trying to make the "luck" parameter for a character into a "leadership" parameter. I will use this parameter in my game to either allow or not allow a player to recruit NPC's based on the level of this parameter. Can someone offer guidance or a suggestion that can make this work, without me having to learn how to code? I want this parameter to be monitored throughout the game and on every map. I've thought of a few ways to do this but I'm not knowledgeable enough in RPG maker MV mechanics to finish thinking it through.
Very simple my friend, just do a conditional branch each time you want to check the players luck.
eg. if luck = > 10: recruit character.
Else: “Your leadership level is too low”
EDIT
My bad, you'll actually need to use the "script" command in the conditional branch. Put this in the script: $gameActors.actor(actorId).param[7]
Replace actorId with the id of your main character. Most likely 1.
Thanks Wavelength. I forgot parameters could be stored in variables already by default.
Also, just a note based on the original post and title: using a plugin does not involve you learning how to code. In fact, that's the entire point of plugins, to provide code to other people for their use. The basic engine that RPG Maker uses for making a game is often referred to as "the default plugins."
There are zero reasons you should specifically ask to avoid plugins when trying to achieve something in your game.
Why are you using the LUK parameter rather than just a variable to track it? Does LUK affect battles? Do you WANT this parameter to affect battles? If you have more than one party member, whose LUK variable do you want to use? Is it the leader, a specific party member?
So you are not changing it yourself - you're just checking its value?
I added a couple of other questions while you were posting. Please go back to my previous post and answer those.
You don't need screenshots - just go to Control Variables, choose Game Data from the list, and in the next window choose Actor (select the actor you're interested in) then select LUK from the next dropdown list.
People COULD provide screenshots, but it's quite clear if you just go in and look.
If these instructions are confusing, my advice would be to continue with other aspects of your game that you do understand. After you become a bit more familiar with rpg maker, what your trying to achieve will be very easy.
I've found the Control variable. However, it only sets it to the luck of the main actor. How do I have it check against a required level of leadership? Ive adjusted the luck to scale with the player but when I place an NPC on the map. How do I activate the variable to check the luck against the NPC's required leadership skill? I cant put together how to make the actual event occur to check the luck of theactor when I talk to an NPC.
You use Control Variables to get the LUK into a variable. Then you use Conditional Branch to check if that variable is high enough to recruit the NPC.