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

[Feature] A_SpawnItemEx needs a flag that would allow it to spawn NOCLIP actors in walls/floor/ceiling #2806

Open
GrayFace opened this issue Nov 11, 2024 · 0 comments

Comments

@GrayFace
Copy link

GZDoom version

No response

Which game are you running with GZDoom?

None

What Operating System are you using?

None

If Other OS, please describe

No response

Relevant hardware info

No response

Is your feature request related to a problem? Please describe.

There's no way to ensure A_SpawnItem/A_SpawnItemEx succeeds, even if the actor being spawned has NOCLIP flag, the function ignores it and still refuses to spawn it in some situations.

Describe the solution you'd like

I consider this aspect of its behavior a bug, but of course it has to be maintained, thus a new flag like SXF_NOCHECKPOSITION is needed, but one that would allow spawning in walls/floor/ceiling, at least if they have NOCLIP flag set.

Describe alternatives you've considered

I'm not sure whether it should check for NOCLIP flag or not. If it does, SXF_RESPECTNOCLIP might be a fitting name. If it doesn't, SXF_ALWAYSSPAWN might do.

Add any other context or screenshots about the feature request here.

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant