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

Super stoked i just finished my first town in my project, by finished i mean i can always add more decorative aesthetics and the NPCs don't talk yet but the mapping is complete and all the important chess pieces are present!
My brain: Hey, I have an idea how to make the transition to the main story quest in The Wastes more natural!
Me: Good!
My brain: You need to remake the hotel you start out in, it's not realistic enough.
Me: Ok... This was unexpected, but I can do it.
My brain: Now make each hotel floor 5 times as large to match the main part. Oh, you also need to make a bunch of new npcs to fill in the space on these maps.
Me: Crap.
Should be able to release Haxe MV/MZ next weekend.
It look that somehow MZ tracks are messed up (for example battle4 is obviously a theme, castle2 is a ship, ship1 is a scene and so on..). Maybe they just named them after with some ambiguity.
is there a script call that return how much turn has passed in battle?

Forum statistics

Threads
100,606
Messages
977,770
Members
132,219
Latest member
aboyhazard
Top