NorthKoreaFriedChicken Posted February 15 Share Posted February 15 I'm making a battle where a lot of npcs are fighting each other and after you begin the battle, you must go into 3 different cells where 3 different npcs talk to you. The problem is that these npcs will not go up to you even though dialogue package, variable and script would be working otherwise. It seems that the about of things that are loaded overwhelm the scripts and do not allow them to run. Here is one of the scripts: scn Rochfordlaststandscript begin ontriggerenter player if JerryWarehousevilleInvasionQuest.rochfordtalking == 1 set JerryWarehousevilleInvasionQuest.rochfordtalking to 2 JerryRochfordREF.EVP endif end rochfordtalking has been increased by 1 by another script that does work. How can I make this script work? I've tried deleting other npcs when the battle starts but the problem still persists. Any ideas? Link to comment Share on other sites More sharing options...
FNVmoder2024 Posted February 15 Share Posted February 15 hi have had to do the same thing before this is all i have and mine seems to work maybe make sure its the same this is the tutorial i followed ; Declare a variable to ensure the script runs only once Short DoOnce Begin OnTriggerEnter Player ; Check if the script has not yet run If DoOnce ==0 ; Update the "Talking" variable in the "MyQuest" quest Set modrebelenterencedia.Talking to 1 modRefmynpc.EVP ; Mark the script as executed to prevent it from running again Set DoOnce to 1 EndIf End Link to comment Share on other sites More sharing options...
NorthKoreaFriedChicken Posted February 15 Author Share Posted February 15 7 hours ago, FNVmoder2024 said: hi have had to do the same thing before this is all i have and mine seems to work maybe make sure its the same this is the tutorial i followed ; Declare a variable to ensure the script runs only once Short DoOnce Begin OnTriggerEnter Player ; Check if the script has not yet run If DoOnce ==0 ; Update the "Talking" variable in the "MyQuest" quest Set modrebelenterencedia.Talking to 1 modRefmynpc.EVP ; Mark the script as executed to prevent it from running again Set DoOnce to 1 EndIf End I don't think it has anything to do with the script itself. I've made this exact script before elsewhere and it works perfectly. Somehow, it doesn't work during the battle. Here is the script for when the battle starts. Everything inside of it works, it's just that it might be loading too much for other scripts to work. https://pastebin.com/FY3w06V5 Link to comment Share on other sites More sharing options...
FNVmoder2024 Posted Tuesday at 11:43 PM Share Posted Tuesday at 11:43 PM On 2/15/2025 at 6:27 PM, NorthKoreaFriedChicken said: I don't think it has anything to do with the script itself. I've made this exact script before elsewhere and it works perfectly. Somehow, it doesn't work during the battle. Here is the script for when the battle starts. Everything inside of it works, it's just that it might be loading too much for other scripts to work. https://pastebin.com/FY3w06V5 yeah maybe try linking the npcs enable state to reduce size of script and improve performance Link to comment Share on other sites More sharing options...
Recommended Posts