cerea1:builders:gen_door_are
Table of Contents
_gen_door_are.nss
Usage
This script is used as a OnAreaTransitionClick script of the door or as a OnUsed script of the placeable or secret door.
This should be used by all doors. If special handling is required use Hooks to modify the behavior of this script.
What it does
This function will do following things:
- Traps: Block entry if object is trapped
- Locks: Block entry if object is locked, or open the lock if PC has suitable keys. Variables.
- Opening: Open the object if it is closed. Variables. Visual effects used open_vfx* and open_vfx_player*.
- Broken: Block entry if variable
broken
is set. - Transfer: Transfer player and his henchman and summoned creatures to the target destination. Variables. Visual effects used transfer_vfx, transfer_vfx_target and transfer_vfx_player*.
Related things
cerea1/builders/gen_door_are.txt · Last modified: 2015/05/03 12:46 by 127.0.0.1