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

[REQUEST] implement smart getOriginID function #326

Open
Darxo opened this issue Oct 25, 2023 · 0 comments
Open

[REQUEST] implement smart getOriginID function #326

Darxo opened this issue Oct 25, 2023 · 0 comments
Labels
feature request A feature requested by the community

Comments

@Darxo
Copy link

Darxo commented Oct 25, 2023

Is your feature request related to a problem? Please describe.
If I want to check whether some (usually my own) origin is currently being played I have to do 4 checks one after another which leads to a big line of text. This is because I can't always guarantee that my line is only executed "in game".

Here is how such a check looks like in Vanilla:
image

Describe the solution you'd like
Implement some new smart global MSU function, for example getOriginID which always returns a string.
If the Origin ID couldn'T be retrieved for a variety of reasons the function returns an empty string.

That should make origin specific checks much easier to read and write

@Darxo Darxo added the feature request A feature requested by the community label Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A feature requested by the community
Projects
None yet
Development

No branches or pull requests

1 participant