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.
enemies as events [RESOLVED]

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 83
I tried having enemies show up as events in the map, approaching the player and starting a battle upon event touch.

Works great, however they are still walking around on the map :) after they are killed.

Erase event might work, but I want them to respawn, maybe on a timer, or every time the game starts or is loaded,

Can anyone help me with something like this?
« Last Edit: May 23, 2009, 08:46:26 PM by Vibliribland »

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
Erase event does work. They'll be gone until you leave the map and come back. So they'll refresh when you come back.

If you want a timer, then make an event with 2 pages. First page as the battle processing and If Win, then turn on SelfSwitchA. Then on the second page make the the condition of it SelfSwitchA is ON. Turn on parallel process. No graphic. Turn on Through or just set it to Below Characters. In the event processes, just have a wait command. Make it wait like 600 frames or something then turn OFF selfswitchA. (which'll in turn go back to the first page of that event with the enemy.)

**
Rep: +0/-0Level 83
Hmmmm

I just realized all erased events respawn when exiting the map and entering again.


How do you make them disapear forever once used?

Like for example, if I have an event where if you search an urn you find a potion, I don't want the player to just exploit that and get 9999999 potions. :)

EDIT: Also, Im very fresh on this matter
How do you have a condition for the battle proccess? Like "if win" "if lose" etc.
The only thing I get as a choice when creating the battle proccess event is which troop and if you can escape or not, and continue even when loser.
Also "Turn on Through or just set it to Below Characters" that sentance makes me sweat :) , No clue what it means hehe.

Thanks for the help so far mate
« Last Edit: May 22, 2009, 10:22:00 AM by Vibliribland »

******
Revolution is not a bed of roses.
Rep:
Level 91
Project of the Month winner for July 2009
Good lord, read some tutorials before asking help for everything.

********
moew
Rep:
Level 91
Queen Princess
2013 Most Missed Member2012 Most Missed Member;o hee hee <3For being a noted contributor to the RMRK Wiki
You need to use switches. If you don't know what those are you should read through some tutorials around the site.

http://rmrk.net/index.php/topic,20927.0.html

http://rmrk.net/index.php/topic,27457.0.html

These two should have something to say about switches.

EDIT: uh, what Falcon said
:taco: :taco: :taco:

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
Through and Below Characters are settings in an event you can set for it. (Try taking a look at the left lower corner of the event window.) Through means it passes through anything regardless of passability (self explanatory ._.) and below characters means that it'll be below the character (Obviously self explanatory). The event will be affected by passability with Below Characters turned on. If you have even a single teleport event, then you would HAVE to know what Below Character means. Considering essentially all teleport events are set to Below Characters and Player Touch. (Unless usually if it's a door.)

Also you didn't have to make a second topic for the same issue which I already answered in. Here's the answer again.
...wow. Set a battle process FIRST in an event. I didn't read through the tutorial, but some how I would imagine it would be in there. If you think escaping is necessary, check that box (in the event commands when setting a battle process ._.) and you'll be given the option to do some stuff if you escape successfully.

It's like how a conditional branch has the options Then and Else. Except for battle processing is If Win (Then turn your switch on) and If Lose (game over screen) or if you checked on the escape button, then If Escape (Text: Your a vagina for running.)...etc

Also, taking just a quick look at the tutorial, 3-1-1 obviously means page 3 of the event commands, the first command in the first column of commands. The tutorial even explained that too. ._.
« Last Edit: May 22, 2009, 03:29:42 PM by grafikal009 »

**
Rep: +0/-0Level 83
Transitioning (teleporting) is just an event without a Graphic, and then "on player touch" transition player to square XXX

Don't need to be below player, that option isn't even in the game acctually. In the lower left corner there is:

Move animation
Stop animation
Direction fix
Through
Always on top

No below player there.


Found the through though, thx


********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
Maybe XP doesn't have it then. I thought it did. Is there not a drop down menu for below character, or something of the sort?

**
Rep: +0/-0Level 83
Funny how stuff like this works.

10 min ago I just couldn't grasp the idea of switches.
Then all of a sudden, BAM! I realized, and now I can do pretty much anything I want.

Sorry about the rule breaking, cluttering of the forum and general dumbness :)
I got it all now though,

Big thanks to anyone trying to help.

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
If any of your topics are Resolved or if you have the answer you were looking for, Modify your first post and change the topic title and include [Resolved] in it somewhere. That way people with the same problem will realize that the topic has been resolved and then they can read it instead of posting their own topics.