Skip to content

Latest commit

 

History

History
69 lines (38 loc) · 2.8 KB

how-to-open-garage-doors.md

File metadata and controls

69 lines (38 loc) · 2.8 KB
description
Short guide how to open existing in world garage doors

How to open garage doors

Summary

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.

Wait, this is not what I want!

Requirements

Opening a door via .questphase

Since we are in the quest section I'll show how to open it within .questphases and using "native" nodes.

  1. Create a basic structure for our quest

  1. 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.

  2. Create pauseCondition on distance and interactiveObjectManager in our .questphase

  3. Showcase

Worth mentioning.

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 %}