I'm currently rather 'stuck' on a part in my dungeons. I've been thinking about how to balance the game out and the easiest (and most efficient (sp?)) way of doing it seemed to me to control the amount of encounters you can get in a certain area.
So here's the idea; You encounter a certain amount of monsters, lets say (for the sake of simplicity) that i only want to allow you to encounter 4 monsters. Each time you kill one your 'invulnerability' goes up by 25%, so after 4 encounters you will be 'immune' to monster attacks.
I've tried going into the database and adding a condition to a certain monster; 'Enemy [1. Ghost]'s HP 0% or below', and then on the event page 'Control Variables: [0999:Dungeon 1 - encounters] += 1'. Now I was going to put events in each map which checks if you are immune to encounters or not (conditional branches where they check if the variable is a certain number, 4 in this case). But the problem is that the variable doesn't update.
Does anyone know if it's possible to even do this, via eventing or scripting?
Thanks in advance,
EDIT(Fixed):
Anyways I have another question, and I don't want to spam up the whole forum with my questions so I'll add it here;
I've made a small 'puzzle' (if you can even call it that), where you need to press the torches in the correct order. Here are the event pages:
The other 3 torches look exactly the same, although the numbers at D1- mem change from 1 to 4 (from left to right).
Whenever I finish the puzzle but get the wrong answer (lets say, 1234 for simplicity) all the torches have to reset. But for some strange reason only the second one resets.
I've tried changing the self switches to a, b, c and d, but that didn't change anything. I also tried other sequences of events but the result was the same.
~Acera
So here's the idea; You encounter a certain amount of monsters, lets say (for the sake of simplicity) that i only want to allow you to encounter 4 monsters. Each time you kill one your 'invulnerability' goes up by 25%, so after 4 encounters you will be 'immune' to monster attacks.
I've tried going into the database and adding a condition to a certain monster; 'Enemy [1. Ghost]'s HP 0% or below', and then on the event page 'Control Variables: [0999:Dungeon 1 - encounters] += 1'. Now I was going to put events in each map which checks if you are immune to encounters or not (conditional branches where they check if the variable is a certain number, 4 in this case). But the problem is that the variable doesn't update.
Does anyone know if it's possible to even do this, via eventing or scripting?
Thanks in advance,
EDIT(Fixed):
Anyways I have another question, and I don't want to spam up the whole forum with my questions so I'll add it here;
I've made a small 'puzzle' (if you can even call it that), where you need to press the torches in the correct order. Here are the event pages:
http://i29.photobucket.com/albums/c260/Killer620/page1.png[/img]
http://i29.photobucket.com/albums/c260/Killer620/page2.png[/img]
The other 3 torches look exactly the same, although the numbers at D1- mem change from 1 to 4 (from left to right).
Whenever I finish the puzzle but get the wrong answer (lets say, 1234 for simplicity) all the torches have to reset. But for some strange reason only the second one resets.
and no, that's not the finished map, don't even think about it :dead:
http://i29.photobucket.com/albums/c260/ ... 1flame.png[/img]
http://i29.photobucket.com/albums/c260/ ... 1flame.png[/img]
I've tried changing the self switches to a, b, c and d, but that didn't change anything. I also tried other sequences of events but the result was the same.
~Acera