User Tools

Site Tools


cerea1:builders:gen_door_ope

_gen_door_ope.nss

Usage

Thsi script is used as a OnOpen 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:

  1. Hooks: Call the OnOpen hook if defined.
  2. Visual effects: Visual effects used open_vfx*, and open_vfx_player*.
  3. Closing: Start closing timer.
  4. Invisible: If player is invisible check if other near the door notice.
  5. Linked door: If door is linked, open the linked door (play open_vfx*), and check if those there notice door opening.
cerea1/builders/gen_door_ope.txt · Last modified: 2015/05/03 12:46 by 127.0.0.1