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 VI (Shop Opening Times)

Time System Using ONLY Events Pt VI (Shop Opening Times)


You have currently created a door event. Copy the door opening information from below the conditional branches into the third branch, shown below. The first page should now look like the following:

@>Conditional Branch: Variable [0001:Day] <= 5
@>Conditional Branch: Variable [0005:Hour] >= 9
@>Conditional Branch: Variable [0005:Hour] < 18
@>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
@>TEXT
: Branch End
@>
: Else
@>TEXT
: Branch End
@>
: Else
@>REPEAT
: Branch End

This now means that, if the day comes between 1 and 5 (Monday-Friday) and the time is between 9:00:00 and 17:59:59, the door will open.
Simply repeat under the bottom else (as shown) and fill in text where it says TEXT.

Details
Tutorial: Time System Using ONLY Events Pt VI (Shop Opening Times)
Date Listed: 2012-05-22
Author: TheDreamWriter
Total Hits: 1603


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