Well, here's my problem. I can't buy things from the actual vendor stores using the shop processing event. But I made a few event things such as a STAT increaser and teleporter. The problem is, I can still use those things when I have 0 gold. The STAT increaser takes away 150 gold (I checked the event and it's fine) and the teleporter takes away 20 gold.
Any idea on how to get it not to do this? Any script that could stop this?
~Yours truly, Lac.
Aew you using the shop processing command?
I mentioned that in the above post.
Yes, I am. But as I stated, I'm using custom vendors to increase STATS such as STR, DEX, AGI, etc... Which do not use the shop processing command/event.
Someone answer this please.
Can you upload your project or a demo containing the problem? I'd like to test it out myself and look through it.
Sure, I'll pm it to you, go to the top left or top right and talk to the people.
To me, it sound like you forgot to make a conditional switch to check if the player has such amount of gold.
How do you do that? I'll go experiment for now.
No need to tell him. I'm going to edit his game for all the edits and I'm going to PM with the link later.
I don't think I included the rpgxp file with it. Just the .exe to play the game and the images. Do you want the file?
Quote from: mastermoo420 on June 25, 2007, 01:55:58 AM
No need to tell him. I'm going to edit his game for all the edits and I'm going to PM with the link later.
Wouldn't it be much better to just tell him how to do it? He would benefit a lot more from learning how to do a simple condition check, than from you editing it for him.
@ Lac
What you need to do is make a conditional branch that checks if they have enough currency to buy the item.
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi67.photobucket.com%2Falbums%2Fh296%2FJalkson%2Funtitled-1.png&hash=31302ce7c3d76a4f3dc9125e6ac8a97cabd9bbc5)
1: Conditional branch button.
2: Page to find the Currency option.
3: Check the currency/gold box.
4: Enter the amount of gold they need to buy the item.
That should be enough to get you started, in order for me to really help you out, I would need to see the event also.
That speaks all.
It SHOULD work now.
Best try it.
...LOL YOU CAN DO THAT? I did it with variables. ;9
Yup, you can do it that way, and with variables and with the script thingie in the branch.
If you for some reason want to store the gold amount and use it for some computation later it might be a good idea putting the information in a variable ^_^