User Tools

Site Tools


door

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

door [2016/03/04 07:33]
Lee created
door [2016/03/04 07:51] (current)
Lee
Line 1: Line 1:
 ====== Door ====== ====== Door ======
 +
 +Clicking the "​Door"​ button and choosing a square on your current **[[maps|Map]]** will bring up the Door window. When the player presses the action key next to a Door they are facing, the Door will open and the player can pass through. ​
 +
 +===== General =====
 +
 +**Display Name** - is used to identify the Door on the **[[maps|Map]]**.
 +
 +**Scripting ID** - is used to identify the Door through scripting.
 +
 +**Position** - sets the X/Y/Z coordinates of the Door on the **[[maps|Map]]**.
 +
 +**Disable Collisions** - when ticked, the player will not collide with the Door.
 +
 +----
 +
 +===== Visual =====
 +
 +**Disable Lighting** - when ticked, lighting will not affect the Door.
 +
 +**Color** - sets the color of the Door on the **[[maps|Map]]**.
 +
 +**Opacity** - sets the opacity of the Door on the **[[maps|Map]]**.
 +
 +**Glow** - sets the glow color of the Door on the **[[maps|Map]]**. Leaving this black will not make the Door glow any particular color.
 +
 +**Flip Vertically** - flips the Door graphic along the Y axis.
 +
 +**Flip Horizontally** - flips the Door graphic along the X axis.
 +
 +**Display Shadow** - when ticked, a shadow will be drawn for the Door.
 +
 +**Invisible** - when ticked, the Door will not be visible on the **[[maps|Map]]**.
 +
 +----
 +
 +===== Door =====
 +
 +**Opening Style** - sets which direction the Door will open in and how it will behave when it opens.
 +
 +**Open** - determines which frame a Door will stop on when completely closed.
 +
 +**Auto-Close After** - is how much time will pass in hours, minutes and seconds before the Door will shut automatically. If left blank, the Door will never shut.
 +
 +**Required Key** - if set to an **[[Item]]**,​ the player will need to have that **[[Item]]** in their inventory before they can open the Door. If "​(None)",​ the Door will not require the player to have an **[[Item]]**.
 +
 +**Required Code** - if set, the player will be required to enter a code in order to open the Door. If blank, the Door will not require a code.
 +
 +----
 +
 +===== Destination (Optional) =====
 +
 +**Map** - the **[[maps|Map]]** the player will be transported to if they open the Door. If this is set to "​(None)",​ the player will not be transported,​ remaining in their current position on the **[[maps|Map]]**. ​
 +
 +**Location** - sets the X/Y/Z coordinates the player will be transported to when they open the Door. Clicking this brings up a visual representation of the **[[maps|Map]]**,​ mentioned above, where you can choose a tile for the player to transport to.
 +
 +----
 +
 +===== Tile =====
 +
 +**Texture** - the Door, created in the **[[Doors]]** window, that the player interacts with.
 +
 +----
 +
 +===== Triggers =====
 +
 +    * **Went to open door** โ€“ runs the script when the action key is pressed next to the Door.
 +    * **Door started opening** โ€“ runs the script when the Door starts to open.
 +    * **Door finished opening** โ€“ runs the script when the Door has fully opened.
door.txt ยท Last modified: 2016/03/04 07:51 by Lee