Wolfhammer

Villager
Member
Joined
Oct 7, 2021
Messages
12
Reaction score
7
First Language
English
Primarily Uses
RMMV
I am not sure if this is the right place to post this, if not please move or delete.

I have a project in beta testing, and a suggestion from one of my testers was a script that warns when the party is underpowered for an area. This is not something I would implement in the entire game, just in the start to help smoothen it a bit.

So what I am looking for -- and full disclosure I have never touched scripts, only MacGyvered using hidden items and conditional switches -- a script that would trigger a dialogue box at specific points of the map when a level threshold isn't met. Like say, the second portion of my starting map requires at least level 3.

I know absolutely nothing of scripts, but hope to learn. TIA and cheers
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
6,491
Reaction score
8,306
First Language
Indonesian
Primarily Uses
RMVXA
Do you have a single party member or do you have several party members?
If you have several party members and all are at a different level, how do you want the level check to behave? check the maximum level? check the minimum level? or check the average level?
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,144
Reaction score
15,535
First Language
English
Primarily Uses
RMMV
I don't think you need a script for this. An event that checks each party member's level (via Control Variables then Conditional Branch) and determines if they're underleveled, and show a message, should be enough.
 

Wolfhammer

Villager
Member
Joined
Oct 7, 2021
Messages
12
Reaction score
7
First Language
English
Primarily Uses
RMMV
Originally, there's only one party member. The map is divided with three regions, with different tiers of enemies.

The first event I want to see at the exit of the starting area, which would give a warning of the main player isn't level 3. Second area would be level 5, and the final one level 7.

I experimented with the Control Variables and Control Switches as suggested but I cannot get an event to trigger properly so I don't think I am doing it right...
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,968
Reaction score
14,820
First Language
English
Primarily Uses
RMVXA
Try posting the event that you have. We can see what the error is for that.

Also are you using ACE for this? Or what engine are you using? If in ACE I have a script using Yanfly's ACE scripts that I macgyvered for that.
 

Wolfhammer

Villager
Member
Joined
Oct 7, 2021
Messages
12
Reaction score
7
First Language
English
Primarily Uses
RMMV
Here's what I have so far. I am not sure about the variables, and the conditional variable switch likely is wrong also. I followed a walkthrough on YouTube but I couldn't translate it well for my own use. image_2021-10-22_011446.png
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,144
Reaction score
15,535
First Language
English
Primarily Uses
RMMV
You would want to set the variable to the party member's level, not to 3.

Control Variable > Game Data > Actor X's > Level
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,371
Reaction score
801
First Language
English
Primarily Uses
RMVXA
What engine are you using? Your status says MV and the picture you posted is MV. This thread is for RGSS.
 

Latest Threads

Latest Profile Posts

I'm feeling rough today, a bit too many last night I'd say. Still have no choice to work on Corpse Mansion. That and I got. bunch of sales last night. I was like wtf this morning, next payout is gonna be nice at least.
I'm just so close to replacing LUK with a different stat, maybe DEX but we'll see.
Slapped together a title screen and working on some dungeon clutter + portraits for Dubhghaill and Einar. Usual CW for minor body horror wrt Einar
QVLJIgD.png

OaPcYUy.png

r55FiUJ.png

EIgO94y.png
cT1V4nb.png
>studying for months for an exam
>does exam
>waits 3 months for the results to come out
>me trying to login, incorrect password
>I get recovery password
>me trying to login, incorrect password

What the heck. As a son of a Karen, I'm going to file a few complaints.

Forum statistics

Threads
117,149
Messages
1,104,971
Members
153,229
Latest member
jimproringtones
Top