Enemies and forced skills in Blizz-Abs

Started by Metaron, July 17, 2014, 07:32:28 am

Previous topic - Next topic

Metaron

Greetings all, I'm trying to create an interesting boss fight using Blizz-abs where you damage the boss to a certain amount of health and then he'll retreat onto a ledge and then cast a barrage of bombs (timed traps) that will set off and the player has to dodge them.

I checked in the handbook and it states that you can't force an enemy to use a skill.

The way I'm doing this at the moment is having each bomb as an enemy with a perception range of three squares and then setting up a conditional branch in a parallel process that if the player can be seen by the enemy the player will then receive damage. This option kinda works except sometimes it ignores the player all together.
The other option is to make so it so the bombs have a large perception range and are able to cast their own bombs, when the trap explodes the enemy goes along with it. This also seems to ignore the player quite a lot as well.

So, my question is that is there a more simple way of doing this? Any help would be greatly appreciated.

KK20

Can't you just use the "basic" way of doing what you're currently doing? By that I mean calculate the distance of the event from the player using game variables.

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

Metaron

What would be the best way to set that up? I can do it so far with just the players position and the one square the bomb is located on as a conditional branch, but I want it to have a slightly larger radius.

KK20

It's calculated as
(player.x - event.x).abs + (player.y - event.y).abs

If the resulting number is less than or equal to your RADIUS, then the bomb explodes. You can easily do this with game variables (I did this in RPG Maker 2k3 for enemy detection).

Also, you totally can force enemies to use skills. Section 4.4.3 in the manual.

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

Metaron

Got it! Cheers for that  :) *Levels up*.

And really? Under the forced actions it says:

3. action_type : either ATTACK, DEFEND, ESCAPE (only for enemies), SKILL or ITEM (only for actors)

KK20


Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

Metaron

 :^_^': Ha, well that solves that then. Thank you for your patience KK20.