Submit Your Article Guild Wars 2 Forum RPG Maker VX.com
 
RPG Maker
 

 Username:
 Password:
   Not a member? Register!



Home > Tutorials > RPG Maker VX > Time System Using ONLY Events Pt VIII (Christmas Closure)

Time System Using ONLY Events Pt VIII (Christmas Closure)


Create a door event and set up the event page as shown below:

@>Conditional Branch: Variable [0002:Date] == 25
@>Conditional Branch: Variable [0003:Month] == 12
@>Text: -, -, Normal, Bottom
: : The cafe is closed. It's Christmas!
@>
: Else
@>Control Switches: [0002:Open Cafe] = ON
@>Jump to Label: Open
@>
: Branch End
@>
: Else
@>Control Switches: [0002:Open Cafe] = ON
@>Jump to Label: Open
@>
: Branch End
@>Label: Open
@>Conditional Branch: Switch [0002:Open Cafe] == ON
@>Play SE: 'Open1", 80, 100
@>Set Move Route: This event (Wait)
: : $>Direction Fix OFF
: : $> Turn Left
: : $> Wait: 3 Frame(s)
: : $> Turn Right
: : $> Wait: 3 Frame(s)
@>Control Self Switch: A =ON
@>
: Else
@>
: Branch End
@>

This means the cafe is closed on Christmas Day, every year. 
Details
Tutorial: Time System Using ONLY Events Pt VIII (Christmas Closure)
Date Listed: Tue, 22 May 2012 05:02:28 -0400
Author: TheDreamWriter
Total Hits: 1515


Embed
Short URL:

HTML:

BB Code:



RPG RPG Revolution
RPG RPG Revolution is your #1 stop for game development and console RPG games, as well as those created by people like you. Link to us to support us, so we may grow to be better website community for you.

RPG RPG Revolution is an Privacy Policy and Legal