Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

//trust assist <Name> doesn't get save after zoning #3

Open
momotaroko opened this issue Jun 22, 2023 · 2 comments
Open

//trust assist <Name> doesn't get save after zoning #3

momotaroko opened this issue Jun 22, 2023 · 2 comments
Assignees

Comments

@momotaroko
Copy link

Whenever I do //trust assist , it saves and assist the character correctly then i do //trust save, but then whenever I zone, I do //trust status and it assist itself. The name that I had set to assist has been reset.

@momotaroko momotaroko changed the title trust assist <Name> doesn't get save trust assist <Name> doesn't get save after zoning Jun 22, 2023
@momotaroko momotaroko changed the title trust assist <Name> doesn't get save after zoning //trust assist <Name> doesn't get save after zoning Jun 22, 2023
@cyrite
Copy link
Collaborator

cyrite commented Jul 7, 2023

I think I implemented it that way on purpose, but I can't remember why. You're correct that // trust assist doesn't currently save between zoning but it could be added fairly easily by saving it to Trust/data/settings.xml.

@cyrite
Copy link
Collaborator

cyrite commented Jul 7, 2023

@momotaroko this is the line that reset it when you zone:

player.party:set_assist_target(nil)

You could try commenting that out and see if it doesn't cause other issues. It still won't save between reloads of the Trust add-on, though.

@cyrite cyrite self-assigned this Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants