Scripting problems with creating a companion!

Post » Thu May 22, 2014 9:55 pm

Look at this! Another post by me! Next thing you know, I'll end up fixing the problem as soon as I hit post... ANYWAY.

I've been trying to create a companion in the GECK resembling a friends character on PS3, because he asked me to make his character my companion on PC. I've been using a series of tutorial videos done by oGrayFox on YouTube. I'm on step 5 currently, if anyone looks it up to try to look into the problem further. Now, Everything I've done till now has been working perfectly, but no matter what I do while trying to script the dialogue, the scripts ALWAYS fail to compile. Everything else works perfectly, scripting wise, and game play wise. I'm completely unable to script the dialogue in order to finish this small project.

Below are all the scripts I'm putting into the dialogue, but none of them are working.

FollowersFiredYes:
Set CompanionJamesREF.Waiting to 0
Set CompanionJamesREF.HasBeenHired to 0
Set CompanionJamesREF.L38 to 0
Set CompanionJamesREF.IsFollowingDefault to 0
Set CompanionJamesREF.IsFollowingLong to 0
CompanionJamesREF.SetPlayerTeammate 0
CompanionJamesREF.evp

FollowersFiredYesSuite:
Set CompanionJamesREF.Waiting to 0
Set CompanionJamesREF.HasBeenHired to 0
Set CompanionJamesREF.L38 to 1
Set CompanionJamesREF.IsFollowingDefault to 0
Set CompanionJamesREF.IsFollowingLong to 0
CompanionJamesREF.SetPlayerTeammate 0
CompanionJamesREF.evp

FollowersHired:
Set CompanionJamesREF.Waiting to 0
Set CompanionJamesREF.IsFollowingDefault to 1
Set CompanionJamesREF.IsFollowingLong to 0
Set CompanionJamesREF.CombatStyleRanged to 1
Set CompanionJamesREF.CombatStyleMelee to 0
Set CompanionJamesREF.HasBeenHired to 1
SetPlayerTeammate 1
SetIgnoreFriendlyHits 1
CompanionJamesREF.evp

FollowersLetsGo:
Set CompanionJamesREF.Waiting to 0
Set CompanionJamesREF.IsFollowingDefault to 1
CompanionJamesREF.evp

FollowersTacticsCombatAggressive:
Set CompanionJamesREF.FollowerSwitchAggressive to 1

FollowersTacticsCombatMelee:
CompanionJamesREF.SetCombatStyle FollowersCombatStyleMelee
Set CompanionJamesREF.CombatStyleRanged to 0
Set CompanionJamesREF.CombatStyleMelee to 1

FollowersTacticsCombatPassive:
Set CompanionJamesREF.FollowerSwitchAggressive to 0

FollowersTacticsCombatRanged:
CompanionJamesREF.SetCombatStyle FollowersCombatStyleRanged
Set CompanionJamesREF.CombatStyleRanged to 1
Set CompanionJamesREF.CombatStyleMelee to 0

FollowersTacticsDistanceDefault:
Set CompanionJamesREF.IsFollowingDefault to 1
Set CompanionJamesREF.IsFollowingLong to 0
CompanionJamesREF.evp

FollowersTacticsDistanceLong:
Set CompanionJamesREF.IsFollowingDefault to 0
Set CompanionJamesREF.IsFollowingLong to 1
CompanionJamesREF.evp

FollowersTrade:
OpenTeammateContainer 1

FollowersWait:
Set CompanionJamesREF.IsFollowingDefault to 0
Set CompanionJamesREF.IsFollowingLong to 0
Set CompanionJamesREF.Waiting to 1
CompanionJamesREF.evp

User avatar
JERMAINE VIDAURRI
 
Posts: 3382
Joined: Tue Dec 04, 2007 9:06 am

Return to Fallout: New Vegas