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

checking money

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
AppleStem
I Like Apples and Stems




Joined: 03 Sep 2009
Posts: 9
Location: Castle of Paradox

PostPosted: Tue Sep 22, 2009 5:48 pm    Post subject: checking money Reply with quote

im making a thing where when you pay 100$ then you can go on the boat, but I don't know how to make you lose that amount of money, or check if you have enough, help please?
Back to top
View user's profile Send private message Visit poster's website
Moogle1
Scourge of the Seas
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 15 Jul 2004
Posts: 3377
Location: Seattle, WA

PostPosted: Tue Sep 22, 2009 6:24 pm    Post subject: Reply with quote

Here's two ways.

Easy way: Make a shop that sells a Ticket for $100. Edit the ticket so that it sets a tag. You can check for that tag entering the boat.

Less easy way: Make a plotscript something like this:
Code:
plotscript, boat check, begin
 if (pay money(100)) then (
  use door(1) # this door goes to the boat
 ) else (
  show text box(10) # "You don't have enough money!"
 )
end

Link to the plotscript from a text box.
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
AppleStem
I Like Apples and Stems




Joined: 03 Sep 2009
Posts: 9
Location: Castle of Paradox

PostPosted: Fri Sep 25, 2009 4:29 pm    Post subject: Reply with quote

ty
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