Skip to content

EntityScript

Anthony Diamond edited this page Apr 3, 2023 · 10 revisions

EntityScript

Summary

EntityScript is largely a declarative scripting language, intended to provide a sort of glue between core operations and features of the engine. Scripts are executed once per update tick (i.e. frame), and can be used to implement a variety of gameplay features, including such applications as event-driven game logic, player-control systems, and entity state manipulation to name a few.

General Syntax

Instructions

-- Overview of how instructions work.

For a full list of built-in instructions, see below.

Multi-Instruction Blocks

...

Directives

Object Construction

Type Casts

Thread Control-Flow Syntax

Entity References

Variables

Commands

Evaluable Expressions

Component Modification & Assignment

Entity References

Concurrency & Threads

List of Instructions

name

Clone this wiki locally