A simple, but limited method would be to make the "squad mates" external magazine units (see: Broodlord), this allows automatic member management/replacement and leash, but ammo units are forced to attack the same target as the host if it is attacking. Ammo units also die if their host dies, but that can be worked around.
You could have the "leader" apply a search->persistent effect on the "squad mates" to periodically apply an Issue Order: Scan Movement (A-move) to Caster Point. Add a validator to switch to Move command if the caster is too far away, if you want the squad to stay together.
You should elaborate what the units should be able to do while following (e.g. player controllable; cast spells; follow any enemy until it's dead/always stick together even under fire; what happens if the leader dies; what happens if a random member dies...), how many of these "squads" you want also imposes some limits (you can't have 400+ units running Issue Order effects and range validators on a 0.0625 period)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
How are these "squads" created?
A simple, but limited method would be to make the "squad mates" external magazine units (see: Broodlord), this allows automatic member management/replacement and leash, but ammo units are forced to attack the same target as the host if it is attacking. Ammo units also die if their host dies, but that can be worked around.
You could have the "leader" apply a search->persistent effect on the "squad mates" to periodically apply an Issue Order: Scan Movement (A-move) to Caster Point. Add a validator to switch to Move command if the caster is too far away, if you want the squad to stay together.
You should elaborate what the units should be able to do while following (e.g. player controllable; cast spells; follow any enemy until it's dead/always stick together even under fire; what happens if the leader dies; what happens if a random member dies...), how many of these "squads" you want also imposes some limits (you can't have 400+ units running Issue Order effects and range validators on a 0.0625 period)