Difference between revisions of "Hpl3:Game:scripting:user modules:wake handler"

From Frictional Wiki
Jump to navigation Jump to search
(Upload from wiki)
 
(No difference)

Latest revision as of 15:43, 9 July 2020

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.