Skip to content

Entity Script

github-actions[bot] edited this page Jul 15, 2026 · 1 revision

Script

Current entity reference generated from the AC-Legacy registry and source-backed feature audit.

Registry variants

Registry name Numeric ID Implementation
Script 1004 AC_EntityLivingScript

Behavior

A configurable living entity driven by an entity-description record and JavaScript callbacks.

Its description can set health, size, texture, movement speed, and callback script names; it runs created, per-tick update, attacked, interaction, death, and path-completed scripts and supports pathing to an entity or position.

Interactions:

  • The attacked and interaction scripts may return a Boolean to allow or deny the default action.
  • NPC extends this entity type.

Evidence

Back to Current Entities.

Clone this wiki locally