;ADDED BY ME if (GetIsCurrentPackage A909FollowArmed == 1) || (GetIsCurrentPackage A909FollowArmedFast == 1) || (GetIsCurrentPackage A909FollowCasual == 1) || (GetIsCurrentPackage A909FollowCasualFast == 1) if (GetInSameCell Player == 0) set tmp to player.GetAngle Z if tmp &--#60; 45 || tmp &--#62; 315 ; Facing North MoveTo Player 0 -50 0 ; South elseif tmp &--#60; 135 MoveTo Player -50 0 0 ; West elseif tmp &--#60; 225 MoveTo Player 0 50 0 ; North else MoveTo Player 50 0 0 ; East endif elseif (GetDistance Player &--#62; 3000) && (GetInSameCell Player == 1) set tmp to player.GetAngle Z if tmp &--#60; 45 || tmp &--#62; 315 ; Facing North MoveTo Player 0 -50 0 ; South elseif tmp &--#60; 135 MoveTo Player -50 0 0 ; West elseif tmp &--#60; 225 MoveTo Player 0 50 0 ; North else MoveTo Player 50 0 0 ; East endif endif endif ;ADDED BY ME
In short, this code should move Saerileth behind me if she is not in the same cell or is further than 3000 units away from me, only if she is using one of her follow packages.
I got tired of having to summon Saerileth to me after using stepstones from The Ayleid Steps, or just her getting left behind in general. So I scavenged this based on Vilja's script.
My question: Will this warp her to the nearest path node, or strictly 50 units behind me regardless of path node? I don't want her getting stuck behind a door or architecture.