Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Enemies stealing money...

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Meatballsub
Divine Bovine




Joined: 16 Jun 2003
Posts: 437
Location: Northwest Georgia

PostPosted: Wed Jul 16, 2008 7:22 pm    Post subject: Enemies stealing money... Reply with quote

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
View user's profile Send private message Visit poster's website
msw188




Joined: 02 Jul 2003
Posts: 1041

PostPosted: Wed Jul 16, 2008 7:27 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Jack
the fool




Joined: 30 Jul 2004
Posts: 773

PostPosted: Thu Jul 17, 2008 5:13 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Meatballsub
Divine Bovine




Joined: 16 Jun 2003
Posts: 437
Location: Northwest Georgia

PostPosted: Thu Jul 17, 2008 6:31 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group