cerea1:builders:gen_door_fai
Table of Contents
_gen_door_fai.nss
Usage
Thsi script is used as a OnFailToOpen handler script of the door, placeables or secret doors.
This should be used by all doors. If special handing is required use Hooks to modify the behavior of this script.
What it does
This function will do following things:
- Hooks: Call the OnFailToOpen hook if defined.
- Keep locked: If door is supposed to be kept locked door_keep_locked on door or door_keep_locked on area, exit.
- Keys: check if player has correct keys (key_tags, or key_tags_remove) then unlock the door.
Related things
cerea1/builders/gen_door_fai.txt · Last modified: 2015/05/03 12:46 by 127.0.0.1