Status
Not open for further replies.

Dalkrin

Villager
Member
Joined
Feb 23, 2014
Messages
7
Reaction score
0
First Language
English
Primarily Uses
In the game I'm building, I'm attempting to use the SP as a stamina bar. You start each day with 100 and as you perfom actions, you deplete the stamina.

I'm trying to make it to where if you totally drain the Stamina, then your character will 'pass out' wherein they are transferred to their Bed and the clock is set forward to the next morning.

Here's WHat I attempted in the Event pane:

(In the 'Stat Check' Common Event running as a parallel process)

Control Variables: [0022: Stamina] = [sharp]'s SP

(In the 'Pass Out' Common Event running as a parallel process)

Conditional Branch: Variable [0022: Stamina] !=0

   :   Else

              Change Map Settings: Fog="Night", 0, 255, normal, 0, 0

              Play SE: '104-attack16', 80, 100

              Transfer Player:[001: Bedroom], (003, 004)

       End Branch.

As far as I can tell, this shoulc work, but it's not. Can anyone help me to figure this one out. I'm getting kind of annoyed.
 
Last edited by a moderator:

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,558
Reaction score
5,604
First Language
Dutch
Primarily Uses
RMMV
Please, take screenshots of your events, do not type them out (as we need to see exactly what you've done).


Though I can already give you a tip; you only need one common event (setting the variable to the player's SP and checking if it's at 0 can all be put together). Also, you need to make sure that you've turned on the switch that makes this common event run.
 

Dalkrin

Villager
Member
Joined
Feb 23, 2014
Messages
7
Reaction score
0
First Language
English
Primarily Uses
Thanks. I'll give that a quick test. If it doesn't work, I'll Post the screeshots.

Edit:

See, now I feel like a dunce. It works perfectly...

Thank you kindly.
 
Last edited by a moderator:

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
43,408
Reaction score
15,212
First Language
English
Primarily Uses
RMMV
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.

Latest Threads

Latest Posts

Latest Profile Posts

Tiamat-86 wrote on ATT_Turan's profile.
apparently since its turning 15 years old this year the ps3 is considered "retro". now how old do you feel?
guess that means im an "antique" gamer since ill still play games as old as i am.
"you know your getting old when your childhood console changes ethnicity" lol it turned yellow
I'm making Toilet in Wonderland 2. and tell vinny about it lol
WE ARE THE BORG. YOUR BIOLOGICAL AND TECHNOLOGICAL DISTINCTIVENESS WILL BE ADDED TO OUR OWN. RESISTANCE IS FUTILE.
D2R save files are so broken. how was the beta test better then the full release. blizzard's last hope crashed and burned.
they're getting no more chances from me.

Forum statistics

Threads
115,338
Messages
1,089,132
Members
150,013
Latest member
keda27
Top