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

Item Ownership Data #43

Open
Samoe97 opened this issue Dec 27, 2022 · 1 comment
Open

Item Ownership Data #43

Samoe97 opened this issue Dec 27, 2022 · 1 comment

Comments

@Samoe97
Copy link

Samoe97 commented Dec 27, 2022

Hello, I am having trouble with determining the ownership of an item in a replay file. Currently, my system is to get an item once it's spawned, then check both player characters' states and see who spawned it. This is tedious as it requires manually finding and checking for the character state string value for each unique spawnable item in the game.

I could be wrong but I was under the impression there is an "Owner" flag in Melee that would help determine which player spawned an item, but I can't figure out if this is possible to access via Py-Slippi. Thank you in advance for any help.

@Kered13
Copy link

Kered13 commented Jan 25, 2023

The item owner field was added in Slippi 3.6.0. I'm not sure what version of Slippi PySlippi aims to support at the moment, but it does not currently support the Item owner field. Should be pretty easy to add though. You could probably do it locally if you want.

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