Talk:Door
I am having a problem with building a secret passage door. (castlesecretpassage01) If anyone could explain me the full prosses, please do so!
Possible solution[edit source]
Might go something like this:
First get the actual door for the secret passage. ("CastleSecretDoor01") Line it up in the frame as you would a regular door. Now get the activator "CastleSecretLever01" and place it in the empty slot in the frame. Make sure everything is lined up, and start scripting.
Double click on the lever and navigate to the Edit Base window. There you will see the script drop box. Click on the button beside it with the three periods, and click "Script" --> "New".
Paste this into the resulting text window:
scriptName HiddenSecretLever01SCRIPT short open begin onActivate if open == 0 playgroup forward 1 pass1.playgroup forward 1 set open to 1 else playgroup backward 1 pass1.playgroup backward 1 set open to 0 endif end
(possible reformat may spoil scripts... use another script for reference)
Now do the same with the door, but with this script:
scriptName HiddenSecretLever03SCRIPT short open begin onActivate if open == 0 playgroup forward 1 pass3.playgroup forward 1 set open to 1 else playgroup backward 1 pass3.playgroup backward 1 set open to 0 endif end
You must change the reference editor ID to Pass1 for the sripts to work.
Now test it. Forgive me if I was in correct.
How do you make a door a animation door?[edit source]
I'm trying to make a door that swings open when activated, but I don't know where the doors are and how to make them.
Random Teleport[edit source]
How exactly do random teleport doors work? I've looked at the in-game ones but they still don't make any sense to me. Can someone elaborate on them? Stormscape 10:14, 2 January 2008 (EST)