quest events

i have been tinkering with RMVXA for about 4-5 days now and i have learned how most of the

events work but i cant seem to get some quests to work properly.

the quest in question is where i pay a guy 200 gold so he can get gear to train which works fine,

the problem is it counts it completed even if i dont have the 200 gold so some one could talk to him with 0 and lose nothing i want to avoid this.

sorry for no pictures i havint used pictures before so i am not sure how to take or upload them.
You would need to check the player's gold, if it's 200 or above, reduce it by 200 and mark the quest as finished... if not, do nothing...
You do this:

Gl0lLs7.png


I forgot to add in the screenshot: You need to remove the 200 gold or how much you want to be removed. I forgot to put that in the event,

The second page you need to activate when self switch A is on (or whchever switch you want to use).
just finished it and it worked like a charm thanks for the help every one. sorry for double edit forgot to add in that this can be closed now.
You can use the Print Screen key to take a picture, so long as you aren't in a game or something similar. Then paste the picture into an editor (even Paint will do) and save it.
or if ur in newer windows, there is a tool called snipping tool that allows you to take a picture of any part of the screen and directly save it as an image file
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/quest-events.22769/