[ACS] Help with debugging script

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
cubebert
Posts: 103
Joined: Sun Jun 14, 2020 3:37 pm
Graphics Processor: nVidia (Modern GZDoom)

[ACS] Help with debugging script

Post by cubebert »

I'm working on improving the ACS script used by my music randomizers and one of the things that I'm trying to do is to add a function that takes the name of a song file, searches for it on a song name array, and prints out the description that is attached to the name; essentially, a debugging function to ensure that the song description looks okay. Is it possible to have something like that working and able to be used as an alias command? The ACS code in question can easily be found on the first bonus link in the post I've attached.

[imgur]https://i.imgur.com/7p5N3oz[/imgur]
Post Reply

Return to “Scripting”