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

Set event source for group variable changes to the variable name #2231

Merged
merged 1 commit into from
Jun 25, 2023
Merged

Conversation

scooterboo
Copy link
Contributor

Description

In the resources, EVENT_VARIABLE_CHANGE has either a blank source or the source is the name of the variable. We were not saving the source name when we were making a callEvent.

Issues fixed by this PR

In upbeat spirit girl's story quest, there's a door where you need two blue spirit light actuators to open it. When the actuators were going into the lantern, the corresponding condition_EVENT_VARIABLE_CHANGE was not firing since the ScriptArgs didn't know what the variable name was. (scene 1059, group 201059002)

Type of changes

  • Bug fix
  • New feature
  • Enhancement
  • Documentation

Checklist:

  • My code follows the style guidelines of this project
  • My pull request is unique and no other pull requests have been opened for these changes
  • I have read the Contributing note and Code of conduct
  • I am responsible for any copyright issues with my code if it occurs in the future.

@KingRainbow44 KingRainbow44 merged commit 4ec274f into Grasscutters:development Jun 25, 2023
@scooterboo scooterboo deleted the patch-3 branch June 26, 2023 03:08
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

Successfully merging this pull request may close these issues.

2 participants