Skip to main content

Shadowskittish

Based on game build 714014 | Last updated: 2026-03-07

Overview

shadowskittish is a client-side visual effect prefab that represents a fleeting shadow creature. It is non-networked, non-persistent, and intended solely for visual feedback in the game world. The entity becomes visible near players but disappears when the player moves away, animating a "disappear" sequence. It relies on the playerprox component for proximity detection and the transparentonsanity component for visibility tuning based on player sanity on non-dedicated clients.

Usage example

-- The prefab is instantiated internally by the game; modders typically do not manually spawn it.
-- Example of adding a custom listener if extending behavior:
local inst = SpawnPrefab("shadowskittish")
-- Note: Modding this prefab is discouraged due to its client-only nature and tight integration with world effects.

Dependencies & tags

Components used: playerprox, transparentonsanity, animstate, transform Tags: NOCLICK, FX, NOBLOCK

Properties

No public properties.

Main functions

Not applicable. This is a prefab factory function, not a component. No methods are defined or exposed on the entity.

Events & listeners

  • Listens to: animover - triggers entity removal after the "disappear" animation completes.
  • Pushes: None.