Help using Enemy Levels (YEP)

Dehsalp

Veteran
Veteran
Joined
Oct 9, 2019
Messages
200
Reaction score
25
First Language
korean
Primarily Uses
RMMV
I'm using Enemy Levels (YEP)
I used this script to change the enemy's level.

<Custom Starting Level>
level = $gameActors.actor(1).level + 5;
</Custom Starting Level>


However, I want to use a variable here.
So I tried this.

<Custom Starting Level>
$gameVariables.value(292);
</Custom Starting Level>

<Custom Starting Level>
level = $gameVariables.value(292).level + 5;
</Custom Starting Level>

<Custom Starting Level>
level = $gameVariables.value(292) + 5;
</Custom Starting Level>

It doesn't work the way I tried.
How can I use variables?
 

Lay

Veteran
Veteran
Joined
Jul 18, 2019
Messages
124
Reaction score
47
First Language
French
Primarily Uses
RMMV
Code:
<Custom Starting Level>
level = $gameVariables.value(292);
</Custom Starting Level>
The notetag above will set the enemy level to the value in variable 292.

Code:
<Custom Starting Level>
level = $gameVariables.value(292) + 2;
</Custom Starting Level>
The notetag above will set the enemy level to the value in variable 292 increased by 2.

Using $gameVariables in the notetag is not compatible with battle test. You must perform the battle using playtest.
Make sure variable 292 is define when performing the battle.
 

Dehsalp

Veteran
Veteran
Joined
Oct 9, 2019
Messages
200
Reaction score
25
First Language
korean
Primarily Uses
RMMV
Code:
<Custom Starting Level>
level = $gameVariables.value(292);
</Custom Starting Level>
The notetag above will set the enemy level to the value in variable 292.

Code:
<Custom Starting Level>
level = $gameVariables.value(292) + 2;
</Custom Starting Level>
The notetag above will set the enemy level to the value in variable 292 increased by 2.

Using $gameVariables in the notetag is not compatible with battle test. You must perform the battle using playtest.
Make sure variable 292 is define when performing the battle.

Enemy note in
<Custom Starting Level>
$gameVariables.value(292);
</Custom Starting Level>

and

Set i used Control Variables, [292] variable to 5, in event.
And i was test in playtest not the battle test.

It doesn't work too.
 

Lay

Veteran
Veteran
Joined
Jul 18, 2019
Messages
124
Reaction score
47
First Language
French
Primarily Uses
RMMV
your notetag input is bad. you forgot the "level =". See how I wrote my notetag.
And I've tested it in my project, it works perfectly.
 

Dehsalp

Veteran
Veteran
Joined
Oct 9, 2019
Messages
200
Reaction score
25
First Language
korean
Primarily Uses
RMMV
your notetag input is bad. you forgot the "level =". See how I wrote my notetag.
And I've tested it in my project, it works perfectly.
I was stupid.
Thank you.

Maybe earlier
<Custom Starting Level>
level = $ gameVariables.value (292);
</ Custom Starting Level>
When I used this, I guess I only tried it in the battle test.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

An actual dwarf with an actual axe is not so fascinating as the fantasy counterpart...
I'm so back and forth on pre-ording MZ. I can totally wait for a better deal down the road (since I don't need the extras and waiting to see how YEP plugins turn out) but there's something about the fun in playing with "a new toy".
:rheh:
Who knew a adding menu commands would be so hard for something that should be a basic feature.
When you discover great tileset resources that you completely forgot that you had. :kaomad3::kaopride:

Forum statistics

Threads
100,603
Messages
977,683
Members
132,209
Latest member
Frostybox
Top