View previous topic :: View next topic |
Author |
Message |
Meatballsub Divine Bovine

Joined: 16 Jun 2003 Posts: 437 Location: Northwest Georgia
|
Posted: Wed Jul 16, 2008 7:22 pm Post subject: Enemies stealing money... |
|
|
Is there a way to make it so that your opponent can steal some money from you in battle? I have a sloppy way of doing it via a textbox, but the thing is that this particular enemy can steal multiple times. If he does, that would equal more than the amount that the text box takes out. I guess you could use multiple text boxes and tags, but is there an easier way? _________________ MOCBJ Software - My Games
The Hamster Wheel - OHRRPGCE Information Database |
|
Back to top |
|
 |
msw188
Joined: 02 Jul 2003 Posts: 1041
|
Posted: Wed Jul 16, 2008 7:27 pm Post subject: |
|
|
How are you doing it with a textbox? The only thing that I can think of is to have an enemy's attack turn on a tag, and if that tag is already on, turn on a second one. This would allow for stealing twice (and this would only allow stealing fixed amounts, unless you didn't care to tell the player during the battle how much of their money was stolen). With some chaining and reservation of enough tags you could allow the enemy to be able to steal any number of times, but it would be a decent amount of work. If no one can come up with something simpler than having a separate tag for each successful steal, and you would like help putting it together, we can help you I'm sure. _________________ My first completed OHR game, Tales of the New World:
http://castleparadox.com/gamelist-display.php?game=161
This website link is for my funk/rock band, Euphonic Brew:
www.euphonicbrew.com |
|
Back to top |
|
 |
Jack the fool

Joined: 30 Jul 2004 Posts: 773
|
Posted: Thu Jul 17, 2008 5:13 am Post subject: |
|
|
I'm surprised there's no target stat for money. Would definitely be something to request.
Otherwise, MSW's idea seems like a good bet. _________________
 |
|
Back to top |
|
 |
Meatballsub Divine Bovine

Joined: 16 Jun 2003 Posts: 437 Location: Northwest Georgia
|
Posted: Thu Jul 17, 2008 6:31 am Post subject: |
|
|
Thanks, I might try that idea and see how it works.
How I was doing it before was with a textbox before the battle. It would say something like "the enemy stumbles toward you" and would take out a certain amount of money. However, if you killed him before he was able to steal, it would obviously still take out that money.
EDIT: I think I am just going to use one tag and only allow the ability to be used once per battle. That way, I can easily check with an after-battle script whether or not the tag is on and whether money should be taken out or not.
Thanks for the idea! _________________ MOCBJ Software - My Games
The Hamster Wheel - OHRRPGCE Information Database |
|
Back to top |
|
 |
|