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.
How do you make an enemy walk around and if it touches you starts battle?

0 Members and 2 Guests are viewing this topic.

**
Rep: +0/-0Level 76
RMRK Junior
In RPG Maker XP. How do you make an enemy walk around and if it touches you starts battle? or a man walking around and if you press the action button you talk to him.

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Programming)2012 Best RPG Maker User (Mapping)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Kindest Member2011 Best Veteran2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
...wow, basic of the basics there.

For the enemy, just set the enemy event's trigger to Event Touch, and then add in the event command Battle Processing. For the NPC... just add in the sprite and some text really. The default trigger is the action button.

Or are you asking how to make an event?




**
Rep:
Level 81
RMRK Master
What you have to do is edit the event of the man walking around. Change the trigger condition to either "touched by hero" or "collision with hero". I believe that will work.
..........|¯•¸_¸,.•”ˆ¯....Thundercow....¯ˆ“•.,¸_¸•¯|..........
¯•_¹ˆ¯•ˆ¯¯±¸_Thunderclan WÅrrÏØr_¸±¯¯ˆ•¯ˆ²_•¯

Epequest
Game-25% complete
Demo-99% complete

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Programming)2012 Best RPG Maker User (Mapping)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Kindest Member2011 Best Veteran2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
That's what Event Touch is, in RMXP.




**
Rep: +0/-0Level 76
RMRK Junior
I tried it but the enemy would only stand there and move when the actor touches it and he only faces in another direction because right afterward it jumps straight  into battle.
« Last Edit: August 04, 2010, 03:48:59 PM by slyneutron »

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Programming)2012 Best RPG Maker User (Mapping)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Kindest Member2011 Best Veteran2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
Autonomous Movement. Just change the type and it'll move, this way when it touches the player it'll jump to battle.




**
Rep:
Level 81
RMRK Master
If you want to make the enemy move, you have to make an event on the enemy called "move event" (or at least that's what it's called in 2k3). From there you can control the movement of any sprite.
..........|¯•¸_¸,.•”ˆ¯....Thundercow....¯ˆ“•.,¸_¸•¯|..........
¯•_¹ˆ¯•ˆ¯¯±¸_Thunderclan WÅrrÏØr_¸±¯¯ˆ•¯ˆ²_•¯

Epequest
Game-25% complete
Demo-99% complete

**
Rep: +0/-0Level 76
RMRK Junior
Change the type of what? and Where do I find Autonomous Movement? What im trying to do is make the enemy move in a parallel process but if it touches you it jumps into battle. I guess pokemon could be an example. When the people are everywhere and if they see you you have to battle. That way you have a chance to try to avoid them. Something like that, but the enemy has to touch you.
« Last Edit: August 04, 2010, 03:59:34 PM by slyneutron »

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Programming)2012 Best RPG Maker User (Mapping)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Kindest Member2011 Best Veteran2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
No, don't do a parallel process. That automatically runs whatever commands are in the list. Set it to Event Touch. Right above your triggers is the movement options with type, speed, and frequency. Change the type to something like approach.




**
Rep: +0/-0Level 76
RMRK Junior
ok I did what you said with Autonomous Movement at approach (I have tried all the others types of Autonomous Movemen types as well) and trigger as event touch and battle process in the event commands, but when I test it the enemy just stands there. It wont even start the battle. I tried it with action button as trigger,but it still wont battle.
« Last Edit: August 04, 2010, 04:24:32 PM by slyneutron »

**
Rep:
Level 81
RMRK Master
Well, I'm stumped.......
..........|¯•¸_¸,.•”ˆ¯....Thundercow....¯ˆ“•.,¸_¸•¯|..........
¯•_¹ˆ¯•ˆ¯¯±¸_Thunderclan WÅrrÏØr_¸±¯¯ˆ•¯ˆ²_•¯

Epequest
Game-25% complete
Demo-99% complete

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Programming)2012 Best RPG Maker User (Mapping)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Kindest Member2011 Best Veteran2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
Do you have something set up similar to this?




Because this works fine for me.




**
Rep:
Level 81
RMRK Master
Hey Zylos how do you put snapshots like that on here? I know how to put it on paint and save it, but how do you upload it to this site?
..........|¯•¸_¸,.•”ˆ¯....Thundercow....¯ˆ“•.,¸_¸•¯|..........
¯•_¹ˆ¯•ˆ¯¯±¸_Thunderclan WÅrrÏØr_¸±¯¯ˆ•¯ˆ²_•¯

Epequest
Game-25% complete
Demo-99% complete

**
Rep: +0/-0Level 76
RMRK Junior
Almost exactly I just have speed at a slower setting and freq was on low

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Programming)2012 Best RPG Maker User (Mapping)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Kindest Member2011 Best Veteran2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
And it's not working for you? Because speed doesn't really matter per se for it working or not.

@Moobob - Offtopic, but you can just use an image host like Imgur or Photobucket.




**
Rep: +0/-0Level 76
RMRK Junior
oh my. I just realized what was wrong.

**
Rep:
Level 81
RMRK Master
..........|¯•¸_¸,.•”ˆ¯....Thundercow....¯ˆ“•.,¸_¸•¯|..........
¯•_¹ˆ¯•ˆ¯¯±¸_Thunderclan WÅrrÏØr_¸±¯¯ˆ•¯ˆ²_•¯

Epequest
Game-25% complete
Demo-99% complete

**
Rep: +0/-0Level 76
RMRK Junior
I am so sorry. I just noticed that there was still another event page that I had added that I was tinkering with. Once I deleted it the event worked.
Sorry I just started using RMXP not to long ago. So I am still in the process of learning. I usually use google to just see if any one else had the same problems. Thats how I stumbled on this forum. I do read more tutorials. So im learning. I will check out this forum more often though. Thanks a lot Zylos you have been a great help. Sorry for the mistake again

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Programming)2012 Best RPG Maker User (Mapping)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Kindest Member2011 Best Veteran2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
XD

Well that works. Glad you at least got it working. :3




***
Rep:
Level 84
puking up frothing vitriolic sarcastic spittle
Enemies that just "approach" the hero constantly are boring. Also, if you have a lot of enemies on the map, then the hero will quickly get cornered and be forced to fight a lot of battles in a row. It is a poor design choice.

What you should actually do is try to introduct some AI to the enemies, like this.

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Programming)2012 Best RPG Maker User (Mapping)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Kindest Member2011 Best Veteran2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
What we showed him was the bare basic for how to have an enemy touch the player to start a battle. For someone still learning the ropes, it'd probably be better just to keep it simple for now until he's gotten the hang of it.