[ACS] Fetching 4 character sprite name from an actor?

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
Lunia
Posts: 2
Joined: Fri Jun 25, 2021 2:52 pm

[ACS] Fetching 4 character sprite name from an actor?

Post by Lunia »

Hello,

I'm currently making a mod for Zandronum (so no ZScript) and I'm trying to figure out a way to fetch the 4 character sprite name of an actor (like "TROO" for the DoomImp) through ACS without editing any DECORATE files.
Unfortunately there's no APROP_SpriteName property for GetActorProperty which is complicating things quite a bit.

Can this even be done?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [ACS] Fetching 4 character sprite name from an actor?

Post by Graf Zahl »

No, ACS has no access to this.
Lunia
Posts: 2
Joined: Fri Jun 25, 2021 2:52 pm

Re: [ACS] Fetching 4 character sprite name from an actor?

Post by Lunia »

Graf Zahl wrote:No, ACS has no access to this.
All right, thanks for the quick response.
Post Reply

Return to “Scripting”