Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Can someone help me with Mr. Mo's ABS?

Wydrah

Member

The topic was closed, so I'm hoping someone who can help sees this topic.

I actually have two questions. But I'll give a little background info first. Originally I was going to use the ABS system, but it complicated other things, so I decided to go back to a normal RPG battle system. But Mr. Mo's script still offers a lot of useful stuff, specifically with monsters. I want to have monsters shown on screen, and when they bump into the character, a battle is initiated.

With Mr. Mo's script, I can make a "blank" enemy that doesn't perform any actions, so I can create an event that has an active enemy that only moves toward the player. However, the enemy never bumps into the player, which is what I want. So is there a way for me to make an enemy who is chasing the player actually bump into him?



And my second question, is there a command I can give that will make the enemy's event die so it can respawn? I would do erase event, but then it wouldn't be able to respawn.



Thanks in advance!
 
you can use the view range script to make the monsters runs towards the player, and when it reaches it will start a battle. that's how i work. you add the following script to the event move route:
Code:
if VR.in_range?($game_player, self, 6)
  move_toward_player
else
  move_type_random
end
(replace the 6 for your radius)
i have problems with respawn too. the monstesr are respawning only when the players leaves the map and back again.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top