maniacalcoyote Posted October 1, 2018 Share Posted October 1, 2018 I'm trying to add loadout options for Operation Anchorage (with TTW), but I can't find the STHaveHW variable for the Strike Team quest (Use: DLC02StrikeTeam.STHaveHW); I'm trying to add a few new variables for new loadouts, but can't find the spot to add the variables to the scripts. Is there a spot they're declared in that I can add stuff to? Link to comment Share on other sites More sharing options...
dubiousintent Posted October 1, 2018 Share Posted October 1, 2018 You declare variables of all types at the beginning of the script, below the "SCN <scriptname>" line and before the first "BEGIN" block or their first use. If you wish the variable to be "global" then you define it in a quest script which is supposed to still be running. (This might be why you aren't finding it. It's common to declare such "globals" in an always running upon load quest script dedicated solely to that purpose.) Otherwise it is local in scope to other types of scripts. Please see the "Scripting" section of the wiki "Getting started creating mods using GECK" article for tutorials and Tips. -Dubious- Link to comment Share on other sites More sharing options...
maniacalcoyote Posted October 1, 2018 Author Share Posted October 1, 2018 Thank you, dubiousintent. I found the right spot and have the variables declared. The standalone version of the mod (TTW, I CBA to make one for FO3) will be uploaded soon, and another version will be added to my Tweaks page. Link to comment Share on other sites More sharing options...
Recommended Posts