Thread
:
Need a tutorial for making a Zelda game on RPG maker 2003
View Single Post
Reply
Posted 2004-05-19, 01:00 PM in reply to
BlueCube
's post starting
"Keys and doors? If you're using a..."
BlueCube said:
Keys and doors? If you're using a variable or items for the keys themselves (just like the generic "keys" of Zelda) then you would just have an event for the door.
--------
Page 1 - Closed Door
No preconditions
Trigger Condition: Touched By Hero
Event Layer: Same as Hero
Pseudocode:
<> Conditional branch: Keys > 0
___<>Take away 1 key
___<> Set switch "xxxx:Open Door 001" ON
___<> Play some sort of sound effect
___<>
:End
<>
--------
Page 2 - Open Door
Precondition: "xxxx:Open Door 001" is ON
Trigger Condition: Touched By Hero
Event Layer: Below Hero
Pseudocode:
<> Teleport to next area
<>
This will help thanx. But could u help with switches (not switches that stop things) that u push to open doors and pushing a blok onto a pad to open a door plz.
Profile
PM
WWW
Search
caj800