Am I'm messing a step in my On Map ABS that I'm developing? help

Nightshade

Regular
Regular
Joined
Oct 26, 2015
Messages
862
Reaction score
163
First Language
English
Primarily Uses
RMMV
Screenshot_11.jpgScreenshot_17.jpgScreenshot_18.jpgScreenshot_20.jpg

I had the event set to activate on touch. that worked, but I ran into a problem, the player can attack the event, BUT could never get the event to attack back unless the player presses the action button.

Now If I switch the event trigger to activate on Active Button, Player does damage to event but the event always does damage to the player and always attacks back.

what am I messing?
 
Last edited:

AmVa

Regular
Regular
Joined
Jul 6, 2022
Messages
123
Reaction score
44
First Language
English
Primarily Uses
RMMV
How do you determine whether the player or the event attacked first? is it randomized? I couldn't really understand from your screenshots what was intended.

In any case, your mob events will most likely have to be parallel process events if you want a fully functioning ABS. Activation on touch could be okay if you're using a plugin that extends the range of activation, but even then your player won't be able to do much while the mob event is running.
 

SangHendrix

Sang Hendrix
Regular
Joined
Jun 7, 2012
Messages
243
Reaction score
419
First Language
Vietnamese
Primarily Uses
RMMZ
Probably it's because your enemy is in the Action Button trigger. That makes the player only attack the enemy if he presses OK on the enemy but the enemy doesn't know that so it doesn't attack back. To make an ABS, your enemy has to have a detection system and a collision check system.
 

Nightshade

Regular
Regular
Joined
Oct 26, 2015
Messages
862
Reaction score
163
First Language
English
Primarily Uses
RMMV
Probably it's because your enemy is in the Action Button trigger. That makes the player only attack the enemy if he presses OK on the enemy but the enemy doesn't know that so it doesn't attack back. To make an ABS, your enemy has to have a detection system and a collision check system.
how does one do that exactly ?
 

SangHendrix

Sang Hendrix
Regular
Joined
Jun 7, 2012
Messages
243
Reaction score
419
First Language
Vietnamese
Primarily Uses
RMMZ
how does one do that exactly ?
Well, it's quite complicated and that battle system is not recommended for new users. Basically, you'll need a plugin for that. Just find a Detection plugin and a Collision plugin.
 

Nightshade

Regular
Regular
Joined
Oct 26, 2015
Messages
862
Reaction score
163
First Language
English
Primarily Uses
RMMV
Thank you SangHendrix : ) ill look for one : ) i got Galv's Detection plugin but what about the collision one?
 

AquaEcho

Script Kitty
Regular
Joined
Sep 20, 2021
Messages
2,266
Reaction score
1,700
First Language
English
Primarily Uses
RMMV
Youd have to do something like ChronoEngine where if the player is in a defined range of an enemy, the enemy turns toward the player and use an event spawner to spawn an attack event. Then check if the spawned event touches the player, do damage.

But if you're going with an ABS system you should just use one of the already made ones like ChronoEngine, QABS, Jak's, PhoenixKageDesu, etc.
 

Nightshade

Regular
Regular
Joined
Oct 26, 2015
Messages
862
Reaction score
163
First Language
English
Primarily Uses
RMMV
Youd have to do something like ChronoEngine where if the player is in a defined range of an enemy, the enemy turns toward the player and use an event spawner to spawn an attack event. Then check if the spawned event touches the player, do damage.

But if you're going with an ABS system you should just use one of the already made ones like ChronoEngine, QABS, Jak's, PhoenixKageDesu, etc.
ill take a look Aqua thank you so much
 

Latest Posts

Latest Profile Posts

Help, I can't stop! :kaohi:

alice_ornament.png
I'm happy to join this community.
about this argument. I expressed myself badly, I did it on my own, my English was mixed with Google Translate. And I believe chatGPT didn't even exist in 2016
I have to take sleeping pills :rtear:
Now that the forum is running smoothly, I can run around and react to posts the millisecond they're posted.
patrick-star-spongebob.gif

Forum statistics

Threads
136,812
Messages
1,270,316
Members
180,574
Latest member
PastorGary
Top