How to ZScript destructible geometry?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!
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!)
User avatar
hideousdestructor
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

How to ZScript destructible geometry?

Post by hideousdestructor »

Since the release I've just been throwing additional LineAttacks onto things to let them affect the new destructible geometry where they'd otherwise only be able to damage actors.

Is there a way to do this in a more direct and unhacky way, or is this still a WIP?
User avatar
Apeirogon
Posts: 1606
Joined: Mon Jun 12, 2017 12:57 am

Re: How to ZScript destructible geometry?

Post by Apeirogon »

Here PR for this feature, with wad example.
viewtopic.php?f=18&t=62420
User avatar
hideousdestructor
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Re: How to ZScript destructible geometry?

Post by hideousdestructor »

Thanks for the effort, but I'm already looking at that and couldn't tell exactly what if any ZScript or open-to-ZScript function can be called to deal with this.

Return to “Scripting”