I'm having a funny problem where corpses of slain enemies returns to the original event position when I leave the room and come back. I'm wondering if there's a way to have the body to stay where it was killed instead of resetting to the event position. Without plugins if at all possible.
Other thing I'm having problem with is how to make a corpse disappears when I leave the room. I can make a new event page with a blank image to make the monster go away once the battle is over, but I can't figure it out how to make it disappear only after I leave the room or area.
I hope I made myself clear enough lol
Thanks for any help.
Well, yes. Just have the teleportation event verify that the enemy has been defeated. '-'
Ah no problem o/, you can try the way I told also how to do it with events, but I would say do it once/twice just to learn it and then switch it to the plugin or else it will get very very messy later one xD.
You need to store the variables of the coordinates of the event, and then in an autorun when you enter the map, you have to position them according to those variables. As you see this will start to demand a lot of variables and time, but try it once/twice to see if you can do it :ysrs:
When the enemy dies, activate a switch or apply a value to a variable. You just need something that can be accessed by another event. For example, when the enemy dies, activate switch 001. In the teleport event, maintain a condition like this:
If (Swith[001]) == ON {
TeleportTo(new-map)
Switch[002] = ON
} else {
TeleportTo(new-map)
}
Basically, the event will always teleport the player. However, in case the enemy is dead, it activates another switch, which will activate the enemy's blank page causing it to disappear.
I am a little confused about what you are asking.
1) Why would the corpses need to stay where they are if you leave the area and come back?
2) Why would you then need them to be removed at a later time?
3) Do the enemies need to respawn or reset for some reason?
4) Are they tied to a specific quest?
I have an event template that I use to respawn enemies. It also removes them if the quest is not active along with a few other things I have tied into it.
Event Page: 1 basically just turn on self switch "A" and Event Page: 2 is set to parallel and has a wait timer that turns off self switch "A". This allows the event to loop. I use one variable that is set if a specific condition is met and then the event is no longer active.
No plugins, all very standard eventing. It doesn't cover exactly what you want to do, but it's close in my opinion.
Thanks for taking your time to respond Raths. I'll try to answer as well as I can.
1 - Because they're dead! =D It's weird that corpses would move places while you're out and about. One expects a corpse to stay where it is and not to move it by itself. It's a touch of realism is all.
2-I wanted them to be removed only after you leave a room or you pick an item from them.
3-No, though I might come to need them to respawn at some point, so thanks for your tips!
4-Some are but mostly I'm just messing around with the engine, exploring what you can and can't do with it.
Hi, I'd like to bring this back up, as i also need the corpses on death.
Im using ABS system, so makes sense if youre fighting a monster and then it dies. If I can do an event where If monster HP = 0 then the the event switches to the corpse, but im not sure how to check monsters HP.