The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: Xenomic on September 25, 2009, 05:53:40 AM

Title: Making Enemies use skills automatically at certain HP [RPG Maker 2k3]
Post by: Xenomic on September 25, 2009, 05:53:40 AM
Yeah....as the title says. Basically, think of it like Gilgamesh from FFV....after he reached a certain HP in the 2nd fight, he'd automatically use Protect, Shell, Haste, and then Jump in a row....now, I'm trying to replicate this, but the best I can get is to get the enemy to use it on their turn and not immediately like I'd want to. This is how the coding is right now:


In the monster groups tab:


Page 1: Empty (just BGM)
Page 2:

Trigger: Monster [Eirin]'s HP Between [0-35] (Might change this later)

(Dialogue here)
Switch Operation: [XXXX: Hourai Elixir Use] ON


Page 3:

Trigger: Switch [XXX: Hourai Elixir Use] ON

(Dialogue)


Page 4:

Trigger: Switch [XXXX: Hourai Event End] ON




In the Monster tab:


For the Hourai Elixir skill, I have the following:


Precondition: Switch
Priority: 100
Switch: [XXXX: Hourai Elixir Use] ON
Action turns Switch: [XXXX: Hourai Event End] ON
Action turns Switch: [XXXX: Hourai Elixir Use] OFF (I think this causes it to infinitely loop though.... I tried it without it and it worked as up above)




So is there any way to replicate what I'm trying to replicate at all?