GetRandomState¶
Realm: SERVER (supported usage).
actor:GetRandomState()
Returns a weighted at_random state name or none for empty/zero weights.
Source: lua/background_npcs_core/actor/components/sh_state.lua.
Realm: SERVER (supported usage).
actor:GetRandomState()
Returns a weighted at_random state name or none for empty/zero weights.
Source: lua/background_npcs_core/actor/components/sh_state.lua.