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

Spring.SetProjectileDamages has no 2nd arg? #1899

Open
sprunk opened this issue Jan 14, 2025 · 0 comments
Open

Spring.SetProjectileDamages has no 2nd arg? #1899

sprunk opened this issue Jan 14, 2025 · 0 comments
Labels
area: Lua API enhancement New feature or request good first issue Good for newcomers

Comments

@sprunk
Copy link
Collaborator

sprunk commented Jan 14, 2025

1st arg is projectile ID, then either 3rd is the damages table, or 3rd/4th are the damages key and value respectively. What about the 2nd?

Looks like no game uses this so I couldn't find actual use examples to check what they pass as the 2nd, but maybe this is good because it means the args can be safely shifted.

@sprunk sprunk added enhancement New feature or request area: Lua API labels Jan 14, 2025
@lhog lhog added the good first issue Good for newcomers label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Lua API enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants