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

Cannot clone sequences with attached events in different sequences #389

Open
Mgamerz opened this issue Jul 16, 2023 · 0 comments
Open

Cannot clone sequences with attached events in different sequences #389

Mgamerz opened this issue Jul 16, 2023 · 0 comments

Comments

@Mgamerz
Copy link
Member

Mgamerz commented Jul 16, 2023

Describe the bug
There is an error when cloning a sequence that references events in other sequences via AttachToEvent. This is a problem in vanilla game files.

To Reproduce
Be specific. Reports must include tool names, filenames, export numbers and more so that we can reproduce the issue. Do not use generic "use any file" or "any tool". Be specific. If specific reproducible steps are not included, we may simply close the issue as not reproducible.

LE2 BioD_EndGm2_120TheHives.pcc (basegame):

  1. Go to sequence 6245 Seq_FlyIn_LowerSection
  2. Go to 6261 SequenceReference (Spawn Flyer / Spawn Complete)
  3. Attempt to clone the object. It will fail as it cannot find some of the items its trying to clone

Expected behavior
It works.

Screenshots and files used to replicate this
If applicable, add screenshots to help explain your problem.

Version information:
Please include both the date and version number that is located on the top right side of the main window. This information is required.

Nightly

Info
Debugging this indicates its looking for objects in the CURRENT sequence to clone. However, AttachToEvent seems to be able to reference
objects in other sequences that are not in the local one. In this case, 5936 and 5937 SeqAction_AttachToEvent is attaching to objects in subsequences. I'm not sure how to resolve this; unless you collected all objects in subsequences as well and did another pass to link them up after clone. No matter what is done it's going to be a PITA to fix.

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

1 participant