Bashing my own words aside, I'm currently working on the next version of a mod I've been developing on and off for... I dunno, I think it's been five, maybe six years now?
Anyways, I couldn't decide where (which sub forum) to post this in because the questions I have both kind of fall under ACS\Map Scripting so here we go.
#1: Script Stripping?
I only recently noticed this when looking at the automap in game.
There's a LINEDEF that triggers the display of an image and also plays a sound in accompaniment.
This one!
Spoiler:Though you'll quickly notice (like I did) that the other linedefs to it's left and right are also programmed to trigger the same script.
So now the issue presents itself.
You can trip one, and it will activate the script.
But the others will remain untouched and if tripped will also call the script.
So how (if at all) can I set it so when on line is tripped...
Spoiler:the others can't be?
Could I possibly have the called script remove the script call functions of the untouched lines?
#2: Set what?
I am not the most skilled when it comes to using scripts to mess with CVARs.
Ever since I started solely focusing on developing this mod with GZDoom in mind, I've been trying to find a suitable replacement for the script call "ConsoleCommand". That's how I originally got sounds to play (lazy, I know).
I thought I had found a replacement in "SetCVAR"...
but none of my attempts to get it to work when and how I want have been in vain.
This is the complete script file containing these calls,
originally they were included in the map's script lump but I soon after put them in global acs.
I doubt it makes any difference, but I'm open to being wrong.
Spoiler:Any and all help is welcome.
Cheers!




