I'm very new to RPG Maker VX Ace, [i got it not even 24 hours ago.] and I'm trying to find out how to add in a skill that will show the stats and weaknesses of an enemy.
Research Ability
RPG Maker VXAce SupportHow do you intend it to be displayed - via a message box (Show Text)?
You could possibly attach a common event to the skill - if you can pull out the target you could then build a text string to show with the stats you want to, and then show that in a message box.
That would be a bit complicated for someone who's only had the engine for 24 hours. The alternative would be a script. THAT would be very complicated for someone who's only had the engine for 24 hours.
You could possibly attach a common event to the skill - if you can pull out the target you could then build a text string to show with the stats you want to, and then show that in a message box.
That would be a bit complicated for someone who's only had the engine for 24 hours. The alternative would be a script. THAT would be very complicated for someone who's only had the engine for 24 hours.
Yes, I do intend to have it displayed in a message box. And I guess I should probably hold off on complicated scripting like this unless I'm able to find someone who has a copy of the script they used, right?
If you want to show it in a message box, you need a method to retrieve the enemy being targetted, a method to retrieve the desired stats of that enemy, and a method to build a message with all of that information. Dynamic messages can be created with variables, but you could also build one through the Script event command. There will be a lot of trial and error and hair-pulling 🙂
As Shaz said, there are several ways to do this - but they all require some basic knowledge about the engine.
If you go by show text command, you'll need to know how to use the control variable command (game data area) to load the enemies data into a variable and then display it by textcode in the show text command.
If you go by script - the master script list contains more than 1000 existing scripts, and one of them from Yanfly can do what you want.
However, I suggest you follow the link in my signature and work through the tutorials listed there - especially the variables guide should show you the basics on how to use variables for the first option.
If you go by show text command, you'll need to know how to use the control variable command (game data area) to load the enemies data into a variable and then display it by textcode in the show text command.
If you go by script - the master script list contains more than 1000 existing scripts, and one of them from Yanfly can do what you want.
However, I suggest you follow the link in my signature and work through the tutorials listed there - especially the variables guide should show you the basics on how to use variables for the first option.
I've been through my share of trial and error after bug fixing with all of the other game making programs I've used, so it's nothing I'm not used to. Oh well, I'm just going to do some research on the scripts for the stuff you just told me. Thanks for the info!
Okay, thanks.
Original thread: https://forums.rpgmakerweb.com/threads/research-ability.39034/