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

Variable stretching ideas #1215

Open
4 of 10 tasks
cswhite2000 opened this issue Aug 14, 2023 · 1 comment
Open
4 of 10 tasks

Variable stretching ideas #1215

cswhite2000 opened this issue Aug 14, 2023 · 1 comment
Labels
discussion Just talking feature New feature or request

Comments

@cswhite2000
Copy link
Member

cswhite2000 commented Aug 14, 2023

Similar to #1001

This is an issue for types of variables that could be implemented to allow map makers to modify certain internal values, such as score, or blitz lives.

Keep in mind, that not all of these must be viable to implement, or make sense to implement. It's just a list of anything that could maybe be looked at, some may become impractical or nonviable upon closer inspection or when trying to look at details of implementation.

The ideas/brainstorming for future variable types:

@cswhite2000 cswhite2000 added feature New feature or request discussion Just talking labels Aug 14, 2023
@Pablete1234
Copy link
Member

Pablete1234 commented Aug 14, 2023

Player count variable - readonly
Class variables - how many players have a class? - readonly

Note for these ones, they can be computed in xml atm like so (given any filter to apply to players before counting):

<action scope="match">
  <set variable="archer" value="0"/>
  <switch-scope inner="player" filter="is-archer">
    <set variable="archer" value="archer+1"/>
  </switch-scope>
</action>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Just talking feature New feature or request
Development

No branches or pull requests

2 participants