Associating JS Variables to In-Game Variables

NatuElChido

Rookie Dreamer
Veteran
Joined
Nov 13, 2017
Messages
38
Reaction score
6
First Language
Spanish
Primarily Uses
RMMV
Hello Everyone, I have a little problem.
You see, Im making a Casino in a city-like Town, for this, I find a really cool Script:
This script is very nice, it actually makes a full customizable slot machine, this is what i came out for the mine.
CAsinoSlot.png Ah, yeah, as you can tell, is in Spanish, that explains my broken english lmao

But I have some issues:
The most important, this Script uses a Chip system (In my game, they are call Stellas), the chips can be buy with money, but the chips cannot be exchange for gold, items, ect.
Another problem, the Chip counter can hit negatives, this isn't that bad because it's a casino, so having a debt with the casino can trigger some events, like, guards throwing you of the casino or some hitman chassing you.
But as you can tell, all of this thinks can be fixed if I could store the number of chips in an In-game Variable.
I'm not very familiar with JS, but I have programming knowledge, so feel free to be as especific as you want.
How can I do this?
If you need to analize the code, I will put it in a reply, to not make this post very bulky.

BTW: The creator of this script doesn't know how to do it aparently ( actually, he doesn't want to do it), this is one of those cases of old scripts that haven't recive support since launch.

Thanks everyone for reading.
 

ozubon

surströmming?
Veteran
Joined
Oct 16, 2018
Messages
178
Reaction score
168
First Language
English
Primarily Uses
RMMV
There had to be done a little editing so I sent you a PM if you want to try it out.
 

insani1022

Warper
Member
Joined
Jan 20, 2020
Messages
1
Reaction score
1
First Language
English
Primarily Uses
RMMV
Would also love to get this plugin to exchange chips for money or items. PM me if you figure it out. Thank you.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top