Done. Thank you so much, dpJudas and Gutawer.Graf Zahl wrote:Anyone want to take a shot at such a function?
[ZScript] spawn something in valid map space only
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
-
Major Cooke
- Posts: 8221
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: GZBoomer Town
Re: [ZScript] spawn something in valid map space only
-
Nash
-

- Posts: 17513
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
Re: [ZScript] spawn something in valid map space only
AMAZING! Thank you so much!Major Cooke wrote:
Done. Thank you so much, dpJudas and Gutawer. :mrgreen:
-
Major Cooke
- Posts: 8221
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: GZBoomer Town
Re: [ZScript] spawn something in valid map space only
Bear in mind this does just that. It checks a single point. It does NOT check anything else!
It also does not take into account 3D floors. You want that? Use GetZAt.
Also, thanks Rachael for merging it.
It also does not take into account 3D floors. You want that? Use GetZAt.
Also, thanks Rachael for merging it.