The ability to call named scripts from dialogues.

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
Fishytza
Posts: 781
Joined: Wed Feb 23, 2011 11:04 am
Preferred Pronouns: No Preference
Contact:

The ability to call named scripts from dialogues.

Post by Fishytza »

Currently, you can only call numbered ACS scripts in USDF/ZSDF via the special/specialname & args fields. And the only workaround for this is to give a CustomInventory item which in turn calls the named ACS script.

I like to avoid using numbered scripts where possible and I think it's about time not having to rely on workarounds like this anymore.

Maybe something like 'arg0string'.

Code: Select all

namespace = "ZDoom";

Conversation
{
    ....
    Page
    {
        ....
        Choice
        {
            ....
            SpecialName = "ACS_ExecuteWithResult";
            Arg0string = "RaiseBridge"; //Gets converted to a negative number for ACS_* specials
        }
    }
}

Return to “Feature Suggestions [GZDoom]”