Hpl3:Game:scripting:user modules:distortion effects

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

Distortion Effects

Helper function prefix: DistortionEffect_

This module implements the distortion effects that happen to the player's vision as they get close to enemy creatures such as the Flesher. It's called automatically from some AI, but it's also possible to explicitly add additional distortion effects e.g. to trigger effects in a particular area.

Important Functions

DistortionEffect_AddInstance

Start a distortion effect.

DistortionEffect_RemoveInstance

Remove a distortion effect.