RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu

Making Enemies use skills automatically at certain HP [RPG Maker 2k3]

Started by Xenomic, September 25, 2009, 05:53:40 AM

0 Members and 1 Guest are viewing this topic.

Xenomic

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?