Yo Guys ! This is my first ever eventing tutorial AND the first EPS(Eventing Pwns Scripting)
tutorial ! I Hope you like it !!Interdouction
Would You Like so Save up your money so you don't spend them ? Or Would you like to have Two 999999s ? You Can make all that without need of Scripts !!Setting Up
You Will Need :-
Only 4 Variables and nothing else
(and of course a event To be the Banker !)Now Let's Get to Work :3 !!
1-Create Four Variables ( you need ALL of them ! ) and Name Them the following :
1-Held Money ( The Money the player Holds when he Enters the Banks )
2-Bank Account ( The Money Stored in the Bank )
3-Despoited Money ( The Money that the player wants to store )
4-Withdrawn Money ( The Money That the player wants to withdraw )
2- Create an event to be the banker
3- Control Variables > Held Money > Set > Other > Player's Gold ( you Will know why we need that later )
4- Text : Welcome to the bank ! what do you want to do ? ( or anything else you want to write )
5- Choices > "Check account" , "Deposit Money" , "Withdraw Money" ( Everything starts now !!! )
-If " Check account "
- You Currently have \v[n] in your bank account ( where "n" is the number (ID) of the Bank account variable )
-If " Deposit Money "
- Number Input > Deposited Money
- Conditional Branch > If Deposited Money <Is Greater than> Held Money (This step is performed so That a player can't Deposit money more than
-Text: You Don't have that much in your inventory ! The Money in His Inventory )
- Change Gold -"Deposited Money"
- Control Variables > "Bank Account" > Add > "Deposited Money"
- Text : Thanks ! the money was transferred to your bank account !!
-If " Withdraw Money "
- Number Input > Withdrawn Money
- Conditional Branch > If Withdrawn Money <Is Greater than> Bank Account (This step is performed so That a player can't Withdraw money more than
-Text: You Don't have that much in your Bank Account ! The Money in his bank account )
- Change Gold +"Withdrawn Money"
- Control Variables > "Bank Account" > sub > "Withdrawn Money"
- Text : Thanks ! the money was Moved From your bank account To Your Inventory !!
And That's all !! Easy , Right guys ?
Look up for my next tutorial about how to make Quests and Thanks