Antera

Villager
Member
Joined
Jan 15, 2017
Messages
38
Reaction score
5
First Language
EN & FR
Primarily Uses
Hello,

I created a simple item :
- Scope : 1 ally (let's call this ally "BOBBY"), occasion : Menu screen, Effect : calls a common event

The common event :
- Choose :
1. Learn Skill ABC
or
2. Increase HP

In this common event, how do I target BOBBY to make him learn the skill or increase his HP ?

Thanks for your help
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
34,363
Reaction score
8,772
First Language
German
Primarily Uses
RMMV
in the item, have it apply a new (and invisible) state "target" to the targeted ally.
In the common event, make one conditional branch for each actor, checking for 'Actor has state <target> applied'

If the actor has the state, make the effect and remove the state
 

Antera

Villager
Member
Joined
Jan 15, 2017
Messages
38
Reaction score
5
First Language
EN & FR
Primarily Uses
in the item, have it apply a new (and invisible) state "target" to the targeted ally.
In the common event, make one conditional branch for each actor, checking for 'Actor has state <target> applied'

If the actor has the state, make the effect and remove the state
This is very smart and efficient ! Thanks for this solution
Problem will be I have 20 allies, summons etc. :-(

PS : I can do Javascript easy on the Web but never did in RMMV yet
 

Latest Threads

Latest Posts

Latest Profile Posts

since all my maps are hand drawn... I admit, I super envy those who can make the tileset's work. I'm garbage at mapping, but slightly less bad at just drawing my own areas. plus it's easier to draw my own sprites than edit others to look like my characters.
Guys, I made a trailer! And, I also launched the Steam page! If you would like to support the game, please Wishlist it :ahappy: ->
working on some tilesets _ノ乙(、ン、)_

CIBl8xT.png


Oq8WKHX.png
aww man, color hex code #C4C4C4 doesn't work for the tint value in this scene I need something darker, which stinks just because I liked that one it was my favorite plastic explosive three times...#696969 (nice) should work better (WHY IS MY BRAIN LIKE THIS)
Tell it to me straight, doc. If I've been trying to piece together a "shorter" game to learn stuff outside of game jams... am I just running away from my WIP? :v

Forum statistics

Threads
117,284
Messages
1,106,127
Members
153,468
Latest member
fachry3
Top