GetEntityStates
An entity’s whole bag.
Syntax
Section titled “Syntax”GetEntityStates(id)| Parameter | Type | |
|---|---|---|
id |
number | the entity |
Returns
Section titled “Returns”table - {key = value, ...}
Example
Section titled “Example”for k, v in pairs(GetEntityStates(id)) do Log(id, k, "=", v) endSee also
Section titled “See also”GetEntityState · the State bags group of the index
