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

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.

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

Postby Dark-Assassin » Thu May 17, 2018 9:35 pm

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
 
Joined: 19 Mar 2009
Location: South Australia

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

Postby Dark-Assassin » Wed May 23, 2018 2:53 am

Nope?
User avatar
Dark-Assassin
 
Joined: 19 Mar 2009
Location: South Australia

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

Postby gwHero » Wed May 23, 2018 5:44 am

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
gwHero
Be your own Siddhartha
 
Joined: 08 May 2017
Location: The Netherlands

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

Postby Dark-Assassin » Thu May 24, 2018 12:52 am

ZScript currently isn't an option as I am trying to maintain Zandronum compatibility because of Multiplayer.
User avatar
Dark-Assassin
 
Joined: 19 Mar 2009
Location: South Australia

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

Postby Graf Zahl » Thu May 24, 2018 2:32 am

Then you are out of luck because even if it was added it wouldn't help.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

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

Postby Dark-Assassin » Fri May 25, 2018 4:47 am

Yea, which is why I asked if it already existed because I just wasn't sure if it did or not.
User avatar
Dark-Assassin
 
Joined: 19 Mar 2009
Location: South Australia


Return to Scripting

Who is online

Users browsing this forum: No registered users and 2 guests