Results 1 to 3 of 3

Thread: Taking command of a unit.

  1. #1

    Taking command of a unit.

    I have a mission to rescue a chap in a town and I'd like him to join my squad once we get in close proximity. Is this possible? Tried a number of things and searches and have come up blank.

  2. #2
    Gunnery Sergeant Ghost's Avatar
    Join Date
    Jun 9 2006
    Location
    California, USA
    Posts
    422
    you have a few different options for this. One would be to look in this thread where i posted a script to get action menu to have unit join/leave group http://forums.bistudio.com/showthread.php?t=78288
    other option would be to make a trigger of 1x1 or whatever size you want (note its in Meters) activated by your group, or any members present. To do that group the trigger to your group leader and change activation type.
    then in onactivation put
    Code:
    [rescuedunitname] join yourgroup;
    put this in your group leader init line
    Code:
    nameyoulikeforgroup = group this;

  3. #3
    Just give the captive guy a waypoint in front of him and give yourself a join and lead waypoint close to him,then synchronise the two WP's, you can even set completion radius in your WP so it activates at the desired distance.

    You can use the on act. box to setcaptive false if you used setcaptive on the guy.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •