McFearo Posted December 28, 2020 Share Posted December 28, 2020 Here's the script in question: ShowMessage DixieFiredMsg ShowMessage DixiePerkRemovedMsg Set DixieREF.Waiting to 0 Set DixieREF.HasBeenHired to 0 Set DixieREF.L38 to 0 Set DixieREF.IsFollowingDefault to 0 Set DixieREF.IsFollowingLong to 0 DixieREF.SetPlayerTeammate 0 Player.RemovePerk DixieCompanionPerk DixieREF.evp DixieREF.MoveToMarkerWithFade DixieHomeMarkerREFWhere my companion's reference ID is DixieREF I've tried deleting lines from this script to see where it starts causing problems and the issue begins at the third line. Originally I had the ref ID as "00DixieREF" and learned from a different thread that starting a ref ID with numbers was a bad idea so I changed it but I'm still getting problems. I've verified over and over that I have the ref ID in there correctly with no typos and this ref ID isn't causing problems in any of the other topic scripts. I'm following a video series by gerokeymaster on youtube. I can't see any other issues with the script itself. If it's throwing errors in the GECK is it possible it will still work just fine in the actual game? This script shouldn't be a problem... Link to comment Share on other sites More sharing options...
madmongo Posted December 28, 2020 Share Posted December 28, 2020 Looks OK to me. Can you post Dixie's script? You didn't accidentally forget to assign the script with all of those variables to Dixie in the NPC form did you? Link to comment Share on other sites More sharing options...
madmongo Posted December 28, 2020 Share Posted December 28, 2020 By the way, this is a pretty good companion tutorial:https://www.nexusmods.com/newvegas/mods/45278 Link to comment Share on other sites More sharing options...
McFearo Posted December 28, 2020 Author Share Posted December 28, 2020 Looks OK to me. Can you post Dixie's script? You didn't accidentally forget to assign the script with all of those variables to Dixie in the NPC form did you? This is the script I have for him scn 00DixieCompanionScript short HasBeenHired short L38 short DoOnce int CombatStyleRanged int CombatStyleMelee int IsFollowingDefault int IsFollowingLong int FollowerSwitchAggressive int Waiting Begin GameMode If (DoOnce != 1) Set HasBeenHired to 0 Set L38 to 0 Set CombatStyleRanged to 0 Set CombatStyleMelee to 1 Set IsFollowingDefault to 0 Set IsFollowingLong to 0 Set FollowerSwitchAggressive to 0 Set Waiting to 0 Set DoOnce to 1 EndIf EndAgain this one just comes from the video and was provided by the modder who made the video. Link to comment Share on other sites More sharing options...
madmongo Posted December 28, 2020 Share Posted December 28, 2020 Get rid of the 00 at the beginning of the script name. Link to comment Share on other sites More sharing options...
McFearo Posted December 29, 2020 Author Share Posted December 29, 2020 Get rid of the 00 at the beginning of the script name. That might have been the problem, or the GECK was just being funky. I did as you said and closed the GECK and reopened, pasted the script in all over again, and it seems to be working now. Link to comment Share on other sites More sharing options...
dubiousintent Posted January 3, 2021 Share Posted January 3, 2021 Known problem. DO NOT have variable or script names that begin with numbers or the GECK confuses them with things like "records". Best to avoid that practice completely. -Dubious- Link to comment Share on other sites More sharing options...
Recommended Posts