Scriptlump is simply as follows:
Code: Select all
#include "zcommon.acs"
script 01 (void)
{
log(i:GetLineUDMFInt(3, "triggertype")); //int lineid, string fieldname
}Regardless of tag number, field name, field value, direct usage or preloading in a variable in a script, it returns 0. It also returns 0 if triggertype is not defined. that's totally unexpected behavior for a really big error like that.
You can even open it up in SLADE3 and scroll to line 118 - 131 to look at the linedef def (
tl;dr GetLineUDMFInt seems to always = 0; even when acting on invalid targets.
