Do tell, but it no longer matters. I'm guessing your using either RM2k3, XP, or VX. If 2000, then I have to install it sense I, for some odd reason, haven't installed it on my laptop.
---------
I am going to write out how a code would look when set as a code, not individual instructions on building it, unless you request that I do so. In order for me to do write those instructions step by step I need you to specify the RPG Maker version your using. (95, 2000, 2003, XP, VX).
Example of layout of code
Code:
EVENT 001 <== Event Name
-------- <== Break (Everything Below this needs to be made)
<>Message: Text <== What actually needs to be made. |
RPG Maker VX Instructions
PHP Code:
# File Begins Timer and Sets In Motion EVN 003
Code:
EVN 001
--------
@>Comment: <!-- Code Begin -->
@>Text: -, -, Dark, Middle
: : You have 5 seconds to reach the other side.
@>Control Timer: Startup (0 min 5 sec.)
@>Control Switches: [0001: Define Time] = ON
@> |
PHP Code:
# This Code Stops the Timer and Prevents EVN 003 from Executing
Code:
EVN 002
--------
@>Control Timer: Stop
@>Control Switches: [0001: Define Time] = OFF
@> |
PHP Code:
// IMPORTANT: Set "Trigger" to "Parallel Process".
// IMPORTANT: Set Switch "0001:Define Time" to checked
// IMPORTANT: Hide the Event so that the player can't touch it
# Event Handles Timer and togles Game Over
Code:
EVN 003
--------
@>Control Variables: [0001:Timer] = Timer
@>Conditional Branch: Variable [0001:Timer] == 0
@>Game Over
@>
: Branch End
@> |
RPG Maker XP Instructions
PHP Code:
# File Begins Timer and Sets In Motion EVN 003
Code:
EVN 001
--------
@>Comment: <!-- Code Begin -->
@>Text: You have 5 seconds to reach the
: : other side.
@>Control Timer: Startup (0 min. 5 sec.)
@>Control Switches: [0001: Define Time] = ON
@> |
PHP Code:
# This Code Stops the Timer and Prevents EVN 003 from Executing
Code:
EVN 002
--------
@>Control Timer: Stop
@>Control Switches: [0001: Define Time] = OFF
@> |
PHP Code:
// IMPORTANT: Set "Trigger" to "Parallel Process".
// IMPORTANT: Set Switch "0001:Define Time" to checked
// IMPORTANT: Hide the Event so that the player can't touch it
# Event Handles Timer and togles Game Over
Code:
EVN 003
--------
@>Control Variables: [0001:Timer] = Timer
@>Conditional Branch: Variable [0001:Timer] == 0
@>Game Over
@>
: Branch End
@> |
RPG Maker 2003
PHP Code:
# File Begins Timer and Sets In Motion EVN 003
Code:
EVN 001
--------
<>Comment: <!-- Code Begin -->
<>Message: You have 5 seconds to reach the
: other side.
<>Timer 1 Operation: Set, 0M 05S
<>Timer 1 Operation: Start
<>Switch Operation: [0001: Define Time] ON
<> |
PHP Code:
# This Code Stops the Timer and Prevents EVN 003 from Executing
Code:
EVN 002
--------
<>Timer 1 Operation: Stop
<>Switch Operation: [0001:Define Time] OFF
<> |
PHP Code:
// IMPORTANT: Set "Trigger Condition" to "Parallel Process".
// IMPORTANT: Set Switch "0001:Define Time" to checked
// IMPORTANT: Hide the Event so that the player can't touch it
# Event Handles Timer and togles Game Over
Code:
EVN 003
--------
<>Variable Oper: [0001:Timer] Set, Timer 1 Seconds Left
<>Branch if Var: [0001:Timer] is 0
<>Game Over
<>
: End
<> |