NPCs in formation

Discussion in 'Modding and Scripting Support' started by Anonymous, May 8, 2006.

Remove all ads!
Support Terra-Arcanum:

GOG.com

PayPal - The safer, easier way to pay online!
  1. Anonymous

    Anonymous Guest

    Just collecting info here.

    Has anyone ever been able to get NPCs to move in formation? Say two abreast and five deep, for example.

    If so, how?
     
  2. TONGSyaBASS

    TONGSyaBASS Member

    Messages:
    772
    Likes Received:
    0
    Joined:
    Apr 19, 2005
    Not as far as I know.

    Using hearbeat scripts it might be possible. It would involve some pretty complicated scripts which store the PC coordinates and then compare that to the previous PC coordinates and also the NPC coordinates. Then it instructs the NPC to walk to the coordinates which have been extrapolated.

    During combat they would have to abandon formation unless they have ranged weapons only. If they had melee weapons they would probably just jitter on the spot.

    Most follower NPCs already have heartbeat scripts so it would interfere with the main game.
    I don't think it's worth the bother and believe me it would be a lot of bother.
     
  3. Anonymous

    Anonymous Guest

    I appreciate you letting me know. I'll erase that part from the storyline.
     
Our Host!