description |
---|
Short guide how to open existing in world garage doors |
Published: Nov 10 by Sergey
Last documented update: Nov 24 by Sergey
This page will teach you how to create an auto-opening garage door via .questphase file with either CET or Redscript.
- If you want to learn about world-editing, please check the corresponding section.
- NodeRefs explained.
- ArchiveXL
- RedHotTools
- An existing door (if you don't have one, head toadding-locations-and-structures-with-archivexl.md)
Since we are in the quest section I'll show how to open it within .questphases
and using "native" nodes.
- Create a basic structure for our quest
-
Find the door you want to open. Make sure it's not a texture (collisionNode). For example, i took a maelstrom gate.
From there we need its
NodeRef
.Its global identifier. You can find it on its WorldSector. -
Create
pauseCondition
on distance andinteractiveObjectManager
in our.questphase
-
Showcase
To close the door you need to create another condition and use ForceClose
and ForceLock
respectively.
Door can be Sealed
so pay attention to this too.
Some references:
{% embed url="https://nativedb.red4ext.com/c/5245974021298470" %} ForceClose {% endembed %}
{% embed url="https://nativedb.red4ext.com/c/6646620624108018" %} ForceLock {% endembed %}