Having an NPC react to Mob death

austinnyc116

Warper
Member
Joined
Jun 14, 2015
Messages
2
Reaction score
0
First Language
English
Primarily Uses
So check it out, I have a "quest" where I need for the MC to kill 3 slimes, since that's what he was asked by the kid. What I want to do is, have new dialogue for the kid once I kill those slimes. Someone help please!

-Austin

P.S : There's 3 Slimes
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
You can do this through variables.


On each slime, after the Battle Processing call, increment a variable.


On the NPC event have the first page where he asks you to kill the slimes. Then add a second page with the condition Variable [whatever] is Equal to or Greater Than 3.


Follow the link in my signature for some beginner tutorials :)
 

austinnyc116

Warper
Member
Joined
Jun 14, 2015
Messages
2
Reaction score
0
First Language
English
Primarily Uses
How do I increase the Variable once the Slime has been killed?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
Sorry to be so direct, but that's basic eventing, and you need to know how to use variables if you ever want to make any quest more complex than a simple "go there" - as you just see by this counting slimes.

I suggest you take several weeks off your project to work through the basic tutorials until you know those basics - that will speed up your later game development a lot, because you don't have to ask for everything.

I suggest you follow the link in my signature. Working through the tutorials listed there will get you into game development as fast as possible - but that "as fast as possible" does need the several weeks mentioned above.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
On each slime, after the Battle Processing call, increment a variable.
I am assuming you are using evented encounters, and not random encounters.


After the Battle Processing command, add a Control Variables command to increment the variable. If you get killed in battle, the variable won't be incremented.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,062
Members
137,575
Latest member
akekaphol101
Top