Init gold

Status
Not open for further replies.

zrk03

Villager
Member
Joined
Jun 9, 2014
Messages
22
Reaction score
5
First Language
English
Primarily Uses
So i used a event command to change gold to 25 at the start of the game but the number does not come out exactly like i put it. So i did a little test so i had it. Event > Gold change> 1 gold. It gave me 17 in game?

 Anyone know whats wrong
 

RyokuHasu

Developer
Veteran
Joined
Jun 23, 2012
Messages
274
Reaction score
37
First Language
English
Primarily Uses
not without a picture of your event, will you please upload one.
 

David Bergström

Death Arcana follower.
Veteran
Joined
Sep 7, 2013
Messages
148
Reaction score
7
First Language
English
Primarily Uses
The problem could lie in the fact that 'Change Gold' actually ADDS the amount specified, rather than changing it all together. So from what I can see in your screenshot there, you're adding 25 to the gold, rather than setting the gold to 25 in total.

I'm not sure if this helps, but you may need to do your sums and work out what you have to add to your existing amount to get it to 25.

Hope I helped in some way!
 

RyokuHasu

Developer
Veteran
Joined
Jun 23, 2012
Messages
274
Reaction score
37
First Language
English
Primarily Uses
that's not the problem, the problem is that you are not getting rid of the event after it adds 25 gold. you have it so its giving +25 gold over and over and over again really fast.

Use control self switch to turn A on after you add the gold and make a new page that has a self switch A is on condition.

If you have a parallel process event that you only want to run once you have to do something to stop it from running again,
 

zrk03

Villager
Member
Joined
Jun 9, 2014
Messages
22
Reaction score
5
First Language
English
Primarily Uses
The problem could lie in the fact that 'Change Gold' actually ADDS the amount specified, rather than changing it all together. So from what I can see in your screenshot there, you're adding 25 to the gold, rather than setting the gold to 25 in total.

I'm not sure if this helps, but you may need to do your sums and work out what you have to add to your existing amount to get it to 25.

Hope I helped in some way!
 Thank you man but im still not sure. The only way i can set the default gold would to go to the script editor and under Game_Party. Change @gold = 25
 

RyokuHasu

Developer
Veteran
Joined
Jun 23, 2012
Messages
274
Reaction score
37
First Language
English
Primarily Uses
Don't forget to read my solution before resorting to scripting.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
just to clarify the reason:


Parallel Process and Autorun events automatically loop, which means they are executed up to sixty times per seconds if you do not stop them with the use of a switch to a non-looping trigger page.


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.
 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,868
Messages
1,017,066
Members
137,576
Latest member
SadaSoda
Top