StateBag¶
Parameters¶
- the local entity id
number
- is a player
boolean
optional, defaultfalse
Returns¶
- object
StateBag
Raise¶
warning
the 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