RPG Maker Forums

Hello. Right now I'm having a problem with Yanfly's skill learn system in my game. For some reason, the plugin didn't include an option for individual actors to be given skills they can learn, only classes. However, I did see a "lunatic mode" (extra features that require JavaScript knowledge) option that caught my interest. Here it is.
<Learn Show Eval>
value = true;
value = false;
</Learn Show Eval>
For using a custom code to hide or show the skill, you can use these
notetags. Returning value as true will cause the skill to appear
regardless of all other requirements being unmet while returning value as
false will cause the skill to appear regardless of all other requirements
being met.

<Learn Require Eval>
value = true;
value = false;
</Learn Require Eval>
For those who wish to use their own custom requirements using code. This
must return value as true in order for the skill to appear to be
learnable. Avoid using comments that may potentially block out further
code.
Here, it shows a (Value = True) and (Value = False) parameters. What I want it to say is that "true if Actor = ActorId 1, otherwise false." How do I do that? Can anyone give me a formula I can use based on the template given? Thanks!

Latest Threads

Latest Posts

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,040
Messages
1,018,470
Members
137,821
Latest member
Capterson
Top