HP based on the number of a certain item in inventory.

Status
Not open for further replies.
Joined
Mar 19, 2012
Messages
1,623
Reaction score
1,106
First Language
English
Primarily Uses
N/A
So I've been playing a lot of Hero Chronicles (I love Clash of the Dragons, tis awesome) and I was wondering if there was a way, using events that an actors HP was dependant on how many of a certain item is in the inventory.

EG. The Hero (Actor) has 4 different troops that battle for him (he does not engage in battle directly)

Troop 1 is Goblins

Troop 2 of Thieves

Troop 3 is Knights

Troop 4 is dragons.

Now these troops only appear in battle, not in the main menu as playable characters.

But... they appear as Items in the item menu (using Yanflys Item menu customisation script).

So. Is there a way, using events to have the system check how many "Goblins" and "Knights" and "Dragons" etc are in the menu and convert this number into HP for the troops in battle. And then to have the system check after battle how much HP is left and change the number of items to that amount instead?
 
Joined
Mar 19, 2012
Messages
1,623
Reaction score
1,106
First Language
English
Primarily Uses
N/A
Please close this. I have managed to do it myself.

I will post a tutorial on it soon just in case anyone else might be interested.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
40,695
Reaction score
13,984
First Language
English
Primarily Uses
RMMV
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

My computer broke yesterday, so no RPG maker for at least a week until I can get it repaired. :(
Just wanted to share how my game won 1st place in a game jam for itch.io. Everyone else used Unreal, Unity, GMS2, Godot, etc but I used RPG Maker 2003 :guffaw: It just shows that you can create a good game and it doesn't matter which engine you use
if your game is the first (or ONLY) in a series and still has a colon in its title, you are a bad person and I hate you...... jk.

who could ever hate BETWEEN: TWO SOULS?
I want to use a simple animation for a feature of Aletoirs Feast so now I'm touching for the first time the animation system of RM, hope the final result doesn't look too bad hahaha :kaoswt2:

Forum statistics

Threads
107,403
Messages
1,029,424
Members
139,496
Latest member
NexoNeko
Top