Skip to content

UpdateStateData

Realm: SERVER (supported usage).

actor:UpdateStateData(data)

Replaces the current state data table; does not merge it.

Source: lua/background_npcs_core/actor/components/sh_state.lua.

Realm reference.