User Tools

Site Tools


en:modulebuilding:doors

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
en:modulebuilding:doors [2025/11/13 19:04] – [Other Scripts for Doors] shadooowen:modulebuilding:doors [2025/11/13 19:45] (current) shadooow
Line 34: Line 34:
  
 Note that adding a pre-placed object into palette will automatically change its resref to the new resref you choose in the properties window, however any other changes you made during this process will not be copied to the pre-placed object in area. Therefore I recommend to delete the pre-placed object and place it again from palette. Note that adding a pre-placed object into palette will automatically change its resref to the new resref you choose in the properties window, however any other changes you made during this process will not be copied to the pre-placed object in area. Therefore I recommend to delete the pre-placed object and place it again from palette.
-===== Other Scripts for Doors =====+ 
 +===== Other Scripts and variables for Doors =====
  
 Script **//sh_useablefalse//** in OnOpen event will make doors no longer useable and interactable after opened. I sometimes do this in instances areas especially if the door is obstructing another object somehow. This can be used for placeables as well, they will turn unusable if their inventory was emptied, but in case of placeable you want to put this script into OnClosed event instead. Script **//sh_useablefalse//** in OnOpen event will make doors no longer useable and interactable after opened. I sometimes do this in instances areas especially if the door is obstructing another object somehow. This can be used for placeables as well, they will turn unusable if their inventory was emptied, but in case of placeable you want to put this script into OnClosed event instead.
 +
 +Doors with area transition can have additional variables:
 +
 +  * PROGRESS_MINIMUM integer X - minimal percent of spawns cleared to go through, related to [[en:modulebuilding:progresssystem|Progress System]]
 +  * DISABLE_TRANSITION_IN_COMBAT integer 1 - prevents passing through until the player is in combat and until there are hostile creatures in area alive
 +  * MIN_LVL integer X - prevents passing through without specified minimal level (afaik no doors uses this on Arkhalia, but the option exists)
 +  * DVERE string door_tag - tag or doors that must be unlocked or destroyed to pass through (door running through exploit solution)
en/modulebuilding/doors.txt · Last modified: 2025/11/13 19:45 by shadooow