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

Hand out the newbie quest to newly created characters #1535

Conversation

madsboddum
Copy link
Member

@madsboddum madsboddum commented Jun 5, 2024

I had to get a bit creative with the two intent handlers.

At the time CreatedCharacterIntent is emitted, the owner of the CreatureObject is null, because the client hasn't requested zone-in yet.

And when the character is being zoned in, we don't have access the character creation context.

For that reason, the recentlyCreatedCharacters field contains some short-lived state, as the client triggers the zone-in flow right after character creation.

image
image
image

@madsboddum madsboddum self-assigned this Jun 5, 2024
@madsboddum madsboddum added the FEATURE New feature or request label Jun 5, 2024
@madsboddum madsboddum added this to the Game Update ? - Quests milestone Jun 5, 2024
@madsboddum madsboddum requested a review from Obique June 5, 2024 09:13
@madsboddum madsboddum requested review from Josh-Larson and removed request for Obique June 5, 2024 09:31
@madsboddum
Copy link
Member Author

madsboddum commented Jun 7, 2024 via email

@Josh-Larson Josh-Larson merged commit 1cc1c1e into ProjectSWGCore:master Jun 7, 2024
2 checks passed
@Undercova Undercova removed this from the [Quests] Task types milestone Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FEATURE New feature or request [Quest] Service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants