PDA

View Full Version : House Door



Dart Zaidyer
11-30-2006, 12:38 PM
I need a script for a house door, as seen in LttP. It would have to do the following:


It would be 1x2 tiles in size to fit with the regular LttP building doors. As a house door, this would also graphically include part of the archway, but as a castle/sanctuary door, it wouldn't.
When Link touches it, it will wait for 1 frame (much faster than a dungeon door, but not instant), then simply vanish while simultaneously playing a sound effect. It will be gone until he re-enters the screen.
If Link enters the screen from anywhere outside of a 16 pixel radius around the door, it will show itself. Otherwise, it will stay hidden, to make sure it's not in the way when he emerges from the building.


This will allow me to add an extra little touch to the doors in Lightworld DX, instead of using klunky, soundless secret flags that will only ever work once and stay that way forever.

Dlbrooks33
11-30-2006, 04:05 PM
not unless it a temporary trigger to trigger it.

C-Dawg
11-30-2006, 04:07 PM
The sound effect would be nice, and this should be easy to code.

Dart Zaidyer
11-30-2006, 04:08 PM
not unless it a temporary trigger to trigger it.


klunky, soundless

No.
This is why I want to use a script.