RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[RESOLVED] [RM2K] On Screen Enemies?

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 67
RMRK Junior
Hello, I'm using RPG Maker 2000 (because I can't afford XP and VX at the moment and I hate 2003's battle system). I'd like to know how to place the monsters on the map so you can battle them by walking into them, instead of having the random battle system (not a big fan of random battles). I do know that it is possible and not too hard, so I attempted to do it. The way I plan on doing the on screen enemies is to place events that look like monsters and walk around randomly. It will activate its line of events upon contact with the player. In the event line, it will activate the Start Combat event. I've run into 2 problems:

-Can't find out how to make it choose a random monster group from a selected list rather than picking just one group.
-Can't find out how to delete the event when the battle is over and have it respawn when you reenter the room.

Can someone help me out?
« Last Edit: July 22, 2011, 04:47:18 PM by 11clock »

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
1. You can make the event something like this:

Control Variables [Random] = Random (0..x)
  Conditional Branch: Variable [Random] == 0
    # Battle Slimes
  Else
    Conditional Branch: Variable [Random] == 1
      # Battle Bats
    Else
      etc...


2. After the battle, just erase the event (it's an event command).

**
Rep: +0/-0Level 67
RMRK Junior
1. You can make the event something like this:

Control Variables [Random] = Random (0..x)
  Conditional Branch: Variable [Random] == 0
    # Battle Slimes
  Else
    Conditional Branch: Variable [Random] == 1
      # Battle Bats
    Else
      etc...


2. After the battle, just erase the event (it's an event command).

I've looked through all of the pages of event commands, but I don't see an erase event command. Where is it?

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Well, maybe it's not in 2k, just later versions.

I guess just do this: set aside some switches, however many you need for enemies in the zone. After each battle turn on that switch and make it a condition of the second page of the event. Then, at each exit to the zone, turn all those switches off between the erase screen command and the teleport. When you come back, they should respawn.

You can use the same switches for every zone.

**
Rep: +0/-0Level 67
RMRK Junior
Well, maybe it's not in 2k, just later versions.

I guess just do this: set aside some switches, however many you need for enemies in the zone. After each battle turn on that switch and make it a condition of the second page of the event. Then, at each exit to the zone, turn all those switches off between the erase screen command and the teleport. When you come back, they should respawn.

You can use the same switches for every zone.

Thanks!