Ice Splash
Based on game build 714014 | Last updated: 2026-03-05
Overview
ice_splash is a non-persistent visual effect prefab designed to display a short, self-contained ice-themed animation. It is instantiated as a dedicated FX entity, configured with animation state and bank settings, and automatically destroyed once the animation completes. This prefab does not interact with gameplay logic or other components directly; it exists solely for visual feedback.
Usage example
local inst = SpawnPrefab("ice_splash")
if inst ~= nil then
inst.Transform:SetPosition(x, y, z)
-- The entity will self-remove upon animation completion
end
Dependencies & tags
Components used: animstate, transform
Tags: Adds FX to the entity; no other tags are used.
Properties
No public properties.
Main functions
No public functions are defined — this prefab is purely declarative.
Events & listeners
- Listens to:
animover— triggersinst.Remove()to destroy the entity once the animation finishes playing.
Overview
ice_splash is instantiated via Prefab("ice_splash", fn, assets) and returned as a reusable template. It uses a single assets list containing the "anim/ice_splash.zip" animation archive. Inside the factory function fn, the entity is created, tagged, configured for animation playback, and registered for event cleanup.