Skip to main content

Inkover

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

Overview

InkOver is a UI widget that triggers and coordinates visual ink splatter effects on a player character. It listens for the inked event on the owner entity and responds by playing sound and animating one of two internal splatter effects (InkOver or InkOver2) using the Flash method.

Usage example

local inst = ThePlayer
inst:AddWidget("inkover")
inst.widgets.inkover:Flash() -- Manually trigger ink effect if needed

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
ownerentitynilThe entity (typically a player) that owns this widget and triggers ink effects.
InkOverInkOver_splatnilFirst splatter widget instance.
InkOver2InkOver_splatnilSecond splatter widget instance, used alternately to avoid overlap.

Main functions

Flash()

  • Description: Triggers a visual ink splatter effect by playing a sound and calling Flash() on one of the two InkOver_splat widgets. It selects between InkOver (using "ink") and InkOver2 (using "ink2") based on elapsed time since last flash, ensuring staggered or alternating behavior to prevent visual clashing.
  • Parameters: None.
  • Returns: Nothing.
  • Error states: None — always plays a sound and flashes one splatter widget.

Events & listeners

  • Listens to: inked — fires Flash() in response when the owner receives this event.
  • Pushes: None.