Page MenuHomeFeedback Tracker

Make forcing locked doors available in script
New, UrgentPublic

Description

Currently locked doors can be forced open by melee or bullet damage, there’s no way to prevent this in script as it’s handled by the engine. Can we get some sort of solution to block this in script? Currently my solution is to modify the ActionOpenDoor and create my own locking logic, which is completely unnecessary as I have to write my own persistence for restarts.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General

Event Timeline

Add in a separate Building::SetDoorDisabled(int index, boolean disabled), which freezes the door in whatever state it was before.

komer added a subscriber: komer.Nov 26 2020, 9:21 PM

you have already created the same report
https://feedback.bistudio.com/T153385

Gilni added a subscriber: Gilni.Jan 14 2023, 8:05 PM