Quantcast
Channel: ZDoom
Viewing all articles
Browse latest Browse all 3391

Scripting • Change line/wall light via ACS?

$
0
0
Hi there.

Is there an ACS way to dynamically change a wall's line value? I was searching in the wiki, but I didn't find a way to do it.

Thanks in advance.

[edit] I've tried the following, bit it did nothing. Would something of this nature be possible?

Code:

int test = 93;      // TID of the fist line.    //I've made a dummy sector with brighter light and set it to line 93 via Transfer Wall Brightness.Script "LightTest" (void){Test++;SetLineSpecial (430, 16, test, 5);      // 430 is the TID of the line with the Transfer Wall Brightness special      // I was hoping to change the line's special and set the TID of the next wall to get brighter.}
Is there a way to make something with this nature work?

Statistics: Posted by Ravick — Fri Dec 06, 2024 11:25 pm



Viewing all articles
Browse latest Browse all 3391

Trending Articles