I've looked all through the wiki but couldn't find anything there that would be able to return a line's texture.
Does such a function even exist? Had to ask as there's always the possibility of some things going undocumented.
Any way to get a line's texture using ACS?
Moderator: GZDoom Developers
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!)
- Dark-Assassin
- Posts: 742
- Joined: Thu Mar 19, 2009 3:40 am
- Location: South Australia
- Dark-Assassin
- Posts: 742
- Joined: Thu Mar 19, 2009 3:40 am
- Location: South Australia
- gwHero
- Posts: 360
- Joined: Mon May 08, 2017 3:23 am
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: The Netherlands
Re: Any way to get a line's texture using ACS?
IIRC it's not possible in ACS; you can set a linedef's texture but I believe there is no function to retrieve it. For this you will need to use ZScript, where you can retrieve the linedef's texture id.
- Dark-Assassin
- Posts: 742
- Joined: Thu Mar 19, 2009 3:40 am
- Location: South Australia
Re: Any way to get a line's texture using ACS?
ZScript currently isn't an option as I am trying to maintain Zandronum compatibility because of Multiplayer.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Any way to get a line's texture using ACS?
Then you are out of luck because even if it was added it wouldn't help.
- Dark-Assassin
- Posts: 742
- Joined: Thu Mar 19, 2009 3:40 am
- Location: South Australia
Re: Any way to get a line's texture using ACS?
Yea, which is why I asked if it already existed because I just wasn't sure if it did or not.