PDA

View Full Version : Move Formation


provocating
10-23-2015, 03:22 PM
Anyone have the moveformation plugin only move the squad and not the leader? This is the one that Trevius wrote a few years ago. Currently for me, it moves the squad beautifully but the leader just stands there.

EDIT:

Okay, for reference just to elaborate how it works. The script has my $LeaderNPCID = 2701876 in the example, but it is never used. The grid is absolutely needed or the NPC'd do some crazy things. It works pretty good altogether, they should actually start to move when the leader starts it's grid and leaves it's first waypoint.

Drajor
10-24-2015, 03:08 AM
I think Akkadius wrote some nifty perl for this sort of thing! /ping Akkadius

provocating
10-24-2015, 08:08 AM
Will do.

/10char

provocating
10-26-2015, 02:04 PM
Yeah this is working great until the formation is attacked. They immediately start swimming in the air, the ones that do not have any aggro. I think it is because they are pathing and it stops. Even if the entire formation gets aggro, if the leader dies the rest of them just wander around swimming.

Figback65
04-23-2016, 08:15 PM
Provocating, I been wanting to fix this also and been thinking about it but have not made any test runs yet. The only backwoods way I can think of to resolve it easy is to make a double leader situation. LeaderA = invis non agro npc, LeaderB = follows leaderA, Formation adds follow LeaderA also. The formation loc will have to be adjusted tho to make it still look correct. But this way if the leader dies, the formation adds will still follow the invis npc thus simulation the patrol. Then you can also add a depop timer or another for of check on the invis npc controller to work with a depop cycle.

provocating
04-24-2016, 08:55 AM
What I ended up doing is making a sweep of the zone of the followers NPCid and depop those. In my particular situation this worked very well.