Home > Tutorials > RPG Maker VX > Time System Using ONLY Events Pt VII (Patrolling Guard)
Time System Using ONLY Events Pt VII (Patrolling Guard)
@>Conditional Branch: Variable [0005:Hour] >= 11
@>Conditional Branch: Variable [0005:Hour] < 5
@>Set Move Route: This Event (Repeat)
: : $> Move at Random
: : $> Move at Random
Glance over the Autonomous Movement. The guard's Type must be "Fixed". You can decide on the speed and frequency for yourself (though it is recommended that both are set to normal).
The event could activate a Self Switch, shown below.
Page 1:
@>Conditional Branch: Variable [0005:Hour] >= 11
@>Conditional Branch: Variable [0005:Hour] < 5
@>Control Self Switch: A=ON
Page 2:
INTERACT
On this page, the guard's Type needs to be "Random" and trigger is "Action Button". It also needs to have the conditions Self Switch A is ON. You could make the guard check the time when the player talks to him and, if he is off work, he could say "Off duty."
The first page must be set to "Parallel Process" or it will not work (in both cases).
|
|
Details
|
|
Tutorial:
|
Time System Using ONLY Events Pt VII (Patrolling Guard) |
|
Date Listed:
|
2012-05-22 |
|
Author:
|
TheDreamWriter
|
|
Total Hits:
|
1647 |
|
|