Yourking777 Posted October 20, 2015 Share Posted October 20, 2015 (edited) I am not too sure how well this will look in the forum but it is a follower script for ttw that was converted from fo3, it is not my work but after the follower has been fired they teleport to the player whenever you leave or enter a new world space. I am looking at it but I am not very good and any help would be appreciated, also if anyone could add a companion wheel to this that would be great. scn AmataSCRIPT short waiting short CombatStyleRanged short CombatStyleMelee short IsFollowingDefault short IsFollowingShort short IsFollowingLong short FollowerSwitchAggressive short TeammateSwapped begin ONACTIVATE if isactionref player && AmataREF.GetPlayerTeammate == 1 set TeammateSwapped to 1 SetPlayerTeammate 0 ACTIVATE else ACTIVATE endif END begin GAMEMODE if teammateswapped == 1 set TeammateSwapped to 0 SetPlayerTeammate 1 endif END begin OnDeath if getStage MS16 > 10 && getstage MS16 < 100 set MS16.AmataKilled to 1 if getDeadCount Overseer == 0 setStage MS16 160 elseif getDeadCount Vault101Security01 == 0 setStage MS16 162 elseif getDeadCount AllenMack == 0 setStage MS16 164 endif endif ;If player was reporting to her about stopping the Overseer and kills her, fail MS16 if getStage MS16 == 140 setStage MS16 200 endif end BEGIN OnCombatEND if ( GetPlayerTeammate == 1 ) resethealth restoreav perceptioncondition 100 restoreav endurancecondition 100 restoreav leftattackcondition 100 restoreav leftmobilitycondition 100 restoreav rightattackcondition 100 restoreav rightmobilitycondition 100 endif END BEGIN OnDeath if ( FollowerAmata.AmataHired == 1 ) set FollowerAmata.AmataHired to 0 ShowMessage FollowerDeadAmata endif END Edited October 21, 2015 by Yourking777 Link to comment Share on other sites More sharing options...
tomm434 Posted October 20, 2015 Share Posted October 20, 2015 You need to unset her from being player teammate when you fire her. AmataRef.SetPlayerteammate 0Then everything should be fine. (event with special TTW scripts which hide her companion menu) Link to comment Share on other sites More sharing options...
Ladez Posted October 20, 2015 Share Posted October 20, 2015 What tomm said. And using code tags makes posting code on the forum much friendlier on the eyes. Just press the http://forums.nexusmods.com/public/js/3rd_party/ckeditor/plugins/ipscode/images/code.png button. :smile: Link to comment Share on other sites More sharing options...
Yourking777 Posted October 21, 2015 Author Share Posted October 21, 2015 You need to unset her from being player teammate when you fire her. AmataRef.SetPlayerteammate 0Then everything should be fine. (event with special TTW scripts which hide her companion menu)Thanks for the help, I will take another look at it. Where would I actually put that line though?Also I like your profile picture Link to comment Share on other sites More sharing options...
Jokerine Posted October 21, 2015 Share Posted October 21, 2015 You should probably put that code snippet as the result script of her "it's time for us to part ways" dialogue branch. Link to comment Share on other sites More sharing options...
RoyBatterian Posted October 21, 2015 Share Posted October 21, 2015 It would be better to just give her full companion wheel support. The author hasn't responded to me for permission so this mod and a few others will remain unconverted until such time (hopefully with F4 arrival) that they become active on the forums again and read their messages. Link to comment Share on other sites More sharing options...
Yourking777 Posted October 21, 2015 Author Share Posted October 21, 2015 It would be better to just give her full companion wheel support. The author hasn't responded to me for permission so this mod and a few others will remain unconverted until such time (hopefully with F4 arrival) that they become active on the forums again and read their messages.Yeah I hate it when that happens, I was just gonna make it for myself and then ask for permission to post it, and if that failed which it sounds like it would have I was gonna post a guide on how to fix it or something. I am not trying to steal anyones work here, just trying to enjoy my game. Link to comment Share on other sites More sharing options...
Recommended Posts