TLC77 Posted February 19, 2021 Share Posted February 19, 2021 Here is my script: https://pastebin.com/AUT3ZhXH I tried running as admin, downloading GECK Extender (which did not even seem to activate for some reason). I already had xNVSE, JIP LN NVSE and JohnyGuitar. I am on Windows 7. Thanks. Link to comment Share on other sites More sharing options...
dubiousintent Posted February 20, 2021 Share Posted February 20, 2021 You have syntax errors. Can't save/compile a script with errors. Compound conditional statements need to have the individual conditions you are testing grouped in parenthesis, as in "if (IsPC1stPerson == 1) && (Player.IsWeaponOut == 1) && (player.GetAnimAction != 0)". Also, for several reasons you should take all those functions out of the conditionals and save their results to variables and perform your conditional tests against those variables. For debugging purposes to identify which conditional is causing a problem, treat AND (&&) compounds as "nested IF" statements on separate lines. Please see "TIP Best Practice Encapsulation Parens Brackets and Braces", "TIP Best Practice Function parameter separation with commas", "TIP Basic conditional test syntax", and "TIP Debugging Compound Conditionals" entries in the "Scripting" section of the wiki "Getting started creating mods using GECK" article. However, first of all I would strongly suggest you work on getting GECK Extender working as it will help you chase down such errors. Why do you think it isn't? Do you have a GECKCustom.INI file in your "Users" folder? Please see `"Issue - GeckCustom INI file" in that same article. -Dubious- Link to comment Share on other sites More sharing options...
Jimmbalaya Posted February 21, 2021 Share Posted February 21, 2021 My man Dubious helped me big time with a script edit I'm working on, buy this man a beer. And yeah, the sanity check GECK runs had me puzzled for a minute as well, it should probably at least pop up a dialog box to inform less seasoned users like myself. Link to comment Share on other sites More sharing options...
Recommended Posts