Log inGet started
Package

ecs.module

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

ecs.PlayerOwned

Spec for the PlayerOwned component, which maps to the native PlayerOwned. Marks an entity as owned by a player.

Fields

  • ownerIdentity — the owning player's identity (empty for a local marker).

Usage

ecs.insertSync(id, ecs.PlayerOwned{ ownerIdentity = identity })