Skip to content

RandomState

SERVER

    ACTOR:RandomState()

Description

Sets the random state of the actor, which are specified in the config settings.

Example

    local actor = bgNPC:GetFirstActorInList()
    actor:RandomState()