Charas-Project
Game Creation => Requests => RPG Maker Programming => Topic started by: Zeck27 on January 28, 2008, 05:01:47 PM
-
Ok so, in my game, i want monsters to be walking around randomly, and when you touch them, they start combat. So i was wondering if there is a way to delete events after they are finished? Like for example so the monster that had just been defeated is no longer there? Any ideas?
-
There are differant ways to do it.
No matter what, you're gonna want to make an event with some sort of movement pattern. Set the trigger condition to 'collision with hero'.
In the event commans, start your battle.
AFTER the battle command, you can do one of two things.
If you want the monster to disapear BUT come back the next time you go on the map, then you just use the 'erase event' command.
If you want the monster to be gone for good, turn a switch on. Then make a new page on the event, this page should have a blank graphic (or dead monster graphic). Also, its event layery should be set to 'below hero'. In the preconditions panel, select the box for switch, and select the switch you turned on.
What this will do is have a monster on the map moving around. When you touch it or when it touches you, it'll start a battle. After the battle is over, the event will be gone. If you did the first of the two options, it'll come back when you come back on the map, if you do the second of the two, it'll be gone forever.
-
So basically, you should use the 'erase event' thing if you're just replacing random battles with visible monsters, because otherwise there's a limit to how much the player can train up their characters which is frustrating.
But if it's a boss or some event related monster, then use switches, yeah.
-
get this and if you have the skills copy it from this game
im work on this skill
Games » RM2k(3) » Curse of Silence by Kamau
not there any more so i have to see how he made the skills for this
http://www.rpg-palace.com/downloads/details.php?id=96
hope it helps you
and admins sorry to post the link to a rpg site
i hope we get some noobs here
to help out but its the only way too help the game make ask for the help
:Plight: wolfyrivers aka lonewolf lonewolf2005
-
I'll allow the link because its an example and not a real advertisement. If an admin doesn't like it, they can remove it.
-
Thanks for this guys, most help i've ever got on a site before :D
-
We're a pretty friendly lot. Sometimes spriting requests are ignored, but if it's just a coding problem then ask away, it generally doesn't take long to explain something.