Any way to get a line's texture using ACS?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

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!)
Post Reply
User avatar
Dark-Assassin
Posts: 742
Joined: Thu Mar 19, 2009 3:40 am
Location: South Australia

Any way to get a line's texture using ACS?

Post by Dark-Assassin »

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.
User avatar
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?

Post by Dark-Assassin »

Nope?
User avatar
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?

Post by gwHero »

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.
User avatar
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?

Post by Dark-Assassin »

ZScript currently isn't an option as I am trying to maintain Zandronum compatibility because of Multiplayer.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Any way to get a line's texture using ACS?

Post by Graf Zahl »

Then you are out of luck because even if it was added it wouldn't help.
User avatar
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?

Post by Dark-Assassin »

Yea, which is why I asked if it already existed because I just wasn't sure if it did or not.
Post Reply

Return to “Scripting”