Hpl3:Game:scripting:user modules:wake handler

From Frictional Wiki
Revision as of 15:43, 9 July 2020 by Maintenance script (talk | contribs) (Upload from wiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Wake Handler

Helper function prefix: Wake_

This implements a very simple wakeup effect, as if blinking eyelids (see the start of the Theta labyrinth after Akers has embedded you in coral). We implemented this as a module because we originally planned to use it in a few places; in the end we only needed it once.

Important Functions

Wake_SetAsleep

Set whether the player is asleep (black screen!)

Wake_StartWakeup

Open the player's eyelids.