Skip to main content

Entityproxy

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

Overview

Entityproxy is a minimal prefab intended for use in replay recordings. It provides the minimal entity structure needed to simulate a visible, animated entity in replays — specifically, it holds transform data and animation state but does not persist to world save data or possess gameplay logic. It is primarily used as a container for non-functional visual representation during replay playback.

Usage example

-- Typically instantiated internally by the replay system, not directly by mods
local proxy = SpawnPrefab("entityproxy")
proxy.Transform:SetPosition(x, y, z)
proxy.AnimState:SetAnimation("idle")

Dependencies & tags

Components used: replayproxy Tags: Adds entityproxy

Properties

PropertyTypeDefault ValueDescription
persistsbooleanfalseIndicates whether this entity is saved to world data. Set explicitly to false for proxy use.

Main functions

Not applicable.

Events & listeners

None identified.