game.entities
Methods and entrypoints for game.entities.
sc_entities_v1
Section titled “sc_entities_v1”Source: sc_entities.h, implementation, layout pin.
1.0 is 88 bytes; 1.1 appends keep (96). Capabilities transform, spawn,
class_of, watch and query_radius; the last two remain off pending in-game
verification. All owners combined: 1,024 owned spawns and 64 watches; filter
length at most 63 printable ASCII bytes, exact class or trailing-prefix *.
A kept entity is no longer owned; the host does not despawn it at unload/crash.
query_radius.out_more is the number of omitted matches, not the Boolean
used by vehicle seats. max=0 writes no IDs and reports matches via out_more.
Failure-output guarantees differ per method; do not assume all outputs unchanged.
Contract records
Section titled “Contract records”- sc_entities_v1.alive
- sc_entities_v1.class_of
- sc_entities_v1.component
- sc_entities_v1.despawn
- sc_entities_v1.find_by_name
- sc_entities_v1.find_class
- sc_entities_v1.get_transform
- sc_entities_v1.keep
- sc_entities_v1.last_error
- sc_entities_v1.list_classes
- sc_entities_v1.query_radius
- sc_entities_v1.set_transform
- sc_entities_v1.spawn
- sc_entities_v1.unwatch
- sc_entities_v1.watch