Warningshadow
Based on game build 714014 | Last updated: 2026-03-07
Overview
warningshadow is a simple, non-persistent FX prefab that renders a looping shadow animation to serve as a visual warning indicator (e.g., during boss attacks or hazardous area warnings). It uses AnimState to play an idle animation and is tagged as FX. It exists only on the client in multiplayer and does not persist or synchronize with the server beyond instantiation.
Usage example
local inst = Prefab("warningshadow")
inst = SpawnPrefab("warningshadow")
if inst then
inst.Transform:SetPosition(x, y, z)
end
Dependencies & tags
Components used: Transform, AnimState, Network
Tags: Adds FX
Properties
No public properties
Main functions
Not applicable
Events & listeners
None identified