StateBag¶
Parameters¶
- the local entity id
number - is a player
booleanoptional, defaultfalse
Returns¶
- object
StateBag
Raise¶
warningthe entity passed doesn't exists
Examples¶
local statebag = StateBag(someEntityId)
-- this is used internally inside every entity class
-- you don't really need to use