addStateCopy URLaddState(state: AvatarState): voidRegisters a new dialogue state for an avatar.Parametersstate:AvatarStateAvatar stateReturnstype:void