Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scriptname Bulwark_GYAOHCell_TrackerOBJ extends ObjectReference
- int distanceCheck = 3000
- int Count = 0
- Bulwark_McMFollower_Summons Property FollowerMcM Auto
- Event OnLoad()
- Count = Count + 1
- If FollowerMcM.FollowerMessages_G.GetValueInt() == 1
- Debug.Notification("Changed Cells")
- Endif
- If FollowerMcM.BulwarkFollowerCatchup_G.GetValueInt() == 1 && FollowerMcM.PlayerFollowerCount_G.GetValueInt() >= 1 && (Count == 5)
- Count = 0
- If FollowerMcM.Brelya_Maryon_A.IsPlayerTeammate()
- If FollowerMcM.Brelya_Maryon_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Brelya_Maryon_A) > distanceCheck)
- FollowerMcM.Brelya_Maryon_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.JZargo_A.IsPlayerTeammate()
- If FollowerMcM.JZargo_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.JZargo_A) > distanceCheck)
- FollowerMcM.JZargo_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Onmund_A.IsPlayerTeammate()
- If FollowerMcM.Onmund_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Onmund_A) > distanceCheck)
- FollowerMcM.Onmund_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Aela_A.IsPlayerTeammate()
- If FollowerMcM.Aela_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Aela_A) > distanceCheck)
- FollowerMcM.Aela_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Athis_A.IsPlayerTeammate()
- If FollowerMcM.Athis_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Athis_A) > distanceCheck)
- FollowerMcM.Athis_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Farkas_A.IsPlayerTeammate()
- If FollowerMcM.Farkas_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Farkas_A) > distanceCheck)
- FollowerMcM.Farkas_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Njada_Stonearm_A.IsPlayerTeammate()
- If FollowerMcM.Njada_Stonearm_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Njada_Stonearm_A) > distanceCheck)
- FollowerMcM.Njada_Stonearm_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Ria_A.IsPlayerTeammate()
- If FollowerMcM.Ria_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Ria_A) > distanceCheck)
- FollowerMcM.Ria_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Torvar_A.IsPlayerTeammate()
- If FollowerMcM.Torvar_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Torvar_A) > distanceCheck)
- FollowerMcM.Torvar_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Vilkas_A.IsPlayerTeammate()
- If FollowerMcM.Vilkas_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Vilkas_A) > distanceCheck)
- FollowerMcM.Vilkas_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Cicero_A.IsPlayerTeammate()
- If FollowerMcM.Cicero_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Cicero_A) > distanceCheck)
- FollowerMcM.Cicero_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Erandur_A.IsPlayerTeammate()
- If FollowerMcM.Erandur_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Erandur_A) > distanceCheck)
- FollowerMcM.Erandur_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Golldir_A.IsPlayerTeammate()
- If FollowerMcM.Golldir_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Golldir_A) > distanceCheck)
- FollowerMcM.Golldir_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.illia_A.IsPlayerTeammate()
- If FollowerMcM.illia_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.illia_A) > distanceCheck)
- FollowerMcM.illia_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Belrand_A.IsPlayerTeammate()
- If FollowerMcM.Belrand_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Belrand_A) > distanceCheck)
- FollowerMcM.Belrand_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Erik_The_Slayer_A.IsPlayerTeammate()
- If FollowerMcM.Erik_The_Slayer_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Erik_The_Slayer_A) > distanceCheck)
- FollowerMcM.Erik_The_Slayer_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Jenessa_A.IsPlayerTeammate()
- If FollowerMcM.Jenessa_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Jenessa_A) > distanceCheck)
- FollowerMcM.Jenessa_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Marcurio_A.IsPlayerTeammate()
- If FollowerMcM.Marcurio_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Marcurio_A) > distanceCheck)
- FollowerMcM.Marcurio_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Stenvar_A.IsPlayerTeammate()
- If FollowerMcM.Stenvar_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Stenvar_A) > distanceCheck)
- FollowerMcM.Stenvar_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Vorstag_A.IsPlayerTeammate()
- If FollowerMcM.Vorstag_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Vorstag_A) > distanceCheck)
- FollowerMcM.Vorstag_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Argis_The_Bulwark_A.IsPlayerTeammate()
- If FollowerMcM.Argis_The_Bulwark_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Argis_The_Bulwark_A) > distanceCheck)
- FollowerMcM.Argis_The_Bulwark_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Calder_A.IsPlayerTeammate()
- If FollowerMcM.Calder_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Calder_A) > distanceCheck)
- FollowerMcM.Calder_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Iona_A.IsPlayerTeammate()
- If FollowerMcM.Iona_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Iona_A) > distanceCheck)
- FollowerMcM.Iona_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Jordis_The_Shield_Maiden_A.IsPlayerTeammate()
- If FollowerMcM.Jordis_The_Shield_Maiden_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Jordis_The_Shield_Maiden_A) > distanceCheck)
- FollowerMcM.Jordis_The_Shield_Maiden_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Lydia_A.IsPlayerTeammate()
- If FollowerMcM.Lydia_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Lydia_A) > distanceCheck)
- FollowerMcM.Lydia_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Borgakh_The_Steel_Heart_A.IsPlayerTeammate()
- If FollowerMcM.Borgakh_The_Steel_Heart_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Borgakh_The_Steel_Heart_A) > distanceCheck)
- FollowerMcM.Borgakh_The_Steel_Heart_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Gorbash_The_Iron_Hand_A.IsPlayerTeammate()
- If FollowerMcM.Gorbash_The_Iron_Hand_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Gorbash_The_Iron_Hand_A) > distanceCheck)
- FollowerMcM.Gorbash_The_Iron_Hand_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Lob_A.IsPlayerTeammate()
- If FollowerMcM.Lob_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Lob_A) > distanceCheck)
- FollowerMcM.Lob_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Ogol_A.IsPlayerTeammate()
- If FollowerMcM.Ogol_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Ogol_A) > distanceCheck)
- FollowerMcM.Ogol_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Ugor_A.IsPlayerTeammate()
- If FollowerMcM.Ugor_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Ugor_A) > distanceCheck)
- FollowerMcM.Ugor_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Adelaisa_Vendicci_A.IsPlayerTeammate()
- If FollowerMcM.Adelaisa_Vendicci_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Adelaisa_Vendicci_A) > distanceCheck)
- FollowerMcM.Adelaisa_Vendicci_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Aranea_Lenith_A.IsPlayerTeammate()
- If FollowerMcM.Aranea_Lenith_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Aranea_Lenith_A) > distanceCheck)
- FollowerMcM.Aranea_Lenith_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Benor_A.IsPlayerTeammate()
- If FollowerMcM.Benor_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Benor_A) > distanceCheck)
- FollowerMcM.Benor_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Cosnach_A.IsPlayerTeammate()
- If FollowerMcM.Cosnach_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Cosnach_A) > distanceCheck)
- FollowerMcM.Cosnach_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Derkeethus_A.IsPlayerTeammate()
- If FollowerMcM.Derkeethus_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Derkeethus_A) > distanceCheck)
- FollowerMcM.Derkeethus_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Faendal_A.IsPlayerTeammate()
- If FollowerMcM.Faendal_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Faendal_A) > distanceCheck)
- FollowerMcM.Faendal_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Sven_A.IsPlayerTeammate()
- If FollowerMcM.Sven_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Sven_A) > distanceCheck)
- FollowerMcM.Sven_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Kharjo_A.IsPlayerTeammate()
- If FollowerMcM.Kharjo_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Kharjo_A) > distanceCheck)
- FollowerMcM.Kharjo_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Mjoll_The_Lioness_A.IsPlayerTeammate()
- If FollowerMcM.Mjoll_The_Lioness_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Mjoll_The_Lioness_A) > distanceCheck)
- FollowerMcM.Mjoll_The_Lioness_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Uthegerd_The_Unbroken_A.IsPlayerTeammate()
- If FollowerMcM.Uthegerd_The_Unbroken_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Uthegerd_The_Unbroken_A) > distanceCheck)
- FollowerMcM.Uthegerd_The_Unbroken_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Annekke_Crag_Jumper_A.IsPlayerTeammate()
- If FollowerMcM.Annekke_Crag_Jumper_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Annekke_Crag_Jumper_A) > distanceCheck)
- FollowerMcM.Annekke_Crag_Jumper_A.Moveto(Self)
- Text()
- Endif
- Endif
- If FollowerMcM.Roggi_Knot_Beard_A.IsPlayerTeammate()
- If FollowerMcM.Roggi_Knot_Beard_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Roggi_Knot_Beard_A) > distanceCheck)
- FollowerMcM.Roggi_Knot_Beard_A.Moveto(Self)
- Text()
- Endif
- Endif
- Endif
- Self.Disable()
- EndEvent
- Function Text()
- If FollowerMcM.FollowerMessages_G.GetValueInt() == 1
- Debug.Trace("Your follower has caught up.")
- Endif
- EndFunction
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement