A script that will give questions into the battle.

MushReen

Gacha Guy
Veteran
Joined
Jun 8, 2017
Messages
76
Reaction score
489
First Language
ID, US
Primarily Uses
RMMV
Hello!

Uh.. I've been busy making educational games lately, with such a flat and generic systems. I do have an idea, actually.
I need a script that will give such questions to the player.

For example, the Player is on a battle. To attack, one should answer a math question. If one failed, one gets attacked. Then, the question shuffled again.
Also, there is a time limit to answer the question. If the time limit is over, the one gets hit by the enemies.

Thanks!
 

XIIIthHarbinger

Part Time Super Villain
Veteran
Joined
Apr 27, 2014
Messages
676
Reaction score
805
First Language
English
Primarily Uses
RMMV
You don't need a plugin for that.

Just program common events, operating off a conditional branch tree, defined by variables, that will be called up skill use of your enemy types.

Have the variable generate within a range, then have dialogue & choice events attached to conditional branches, defined by variable amounts. Then have a force action tied to the correct answers when chosen, which will make the player character attack; & a force action tied to the incorrect answer when chose, which will make the enemies attack.
 

MushReen

Gacha Guy
Veteran
Joined
Jun 8, 2017
Messages
76
Reaction score
489
First Language
ID, US
Primarily Uses
RMMV
You don't need a plugin for that.

Just program common events, operating off a conditional branch tree, defined by variables, that will be called up skill use of your enemy types.

Have the variable generate within a range, then have dialogue & choice events attached to conditional branches, defined by variable amounts. Then have a force action tied to the correct answers when chosen, which will make the player character attack; & a force action tied to the incorrect answer when chose, which will make the enemies attack.
You know what? That's a brilliant idea!
But what about random question? Did I can randomize the variables?
 

XIIIthHarbinger

Part Time Super Villain
Veteran
Joined
Apr 27, 2014
Messages
676
Reaction score
805
First Language
English
Primarily Uses
RMMV
Yes, just have the variable generate a number within a range, & then assign a question to each number.

The variable generation will provide you with the desired RNG.
 

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

Latest Threads

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
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.

Forum statistics

Threads
105,868
Messages
1,017,083
Members
137,583
Latest member
write2dgray
Top