View Single Post
 
Reply
Posted 2004-05-19, 12:00 PM in reply to caj800's post starting "Oh... Sry i meant 1 that would help me..."
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
<>
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube