Results 1 to 4 of 4

Thread: Ai Spawn under command

  1. #1

    Ai Spawn under command

    Been trying to search this one for awhile, tried here and Google, although I'm not quite sure what its called, How do I spawn AI already under someones command then they die to be still under there command so you start the mission with say, 2 men, and one dies, but re spawns at the re spawn marker but is still under your command ?

  2. #2
    I see what your asking, I think that you will lose command of AI after they respawned.
    What you can try is place a player down (you) down with 2 AI grouped to you and then somehow
    get one killed and if hes still under your command then you have your answer.

    but there also recruit AI:
    http://www.armaholic.com/page.php?id=12113

    Hosting Missions for Invasion-1944, Iron Front: Liberation 1944, & Hell in the Pacific

    WarMod Series - Massive Addon & Mod Customizable Compilation Mods for Arma1, Arma2, & Arma2CO
    WarMod | A2WarMod |A2WarModACE | COWarMod | COWarModACE | COWarModI44 |COSLX

  3. #3
    You just need to spawn it in the players group.

    "TK_INS_Soldier_MG_EP1" createUnit [getmarkerpos "pos",player, "", 0.5, "CORPORAL"];{addSwitchableUnit _x} forEach units player

    That should create a unit on at marker "pos" he will join the players group and you will be able to switch to him.

  4. #4
    Master Gunnery Sergeant twirly's Avatar
    Join Date
    Sep 13 2010
    Location
    Gods Own (NZ)
    Posts
    1,302
    Ther's also join. You may need to to "join" him to the group.

    Something like this for example:-

    Code:
    _unit = _grp createUnit [_recruit, position player, [], 10, "FORM"];
    [_unit] join _grp;
    Last edited by twirly; Feb 18 2011 at 01:21. Reason: Clarity

    "Learn by doing!" - Quoted from a post by Imutep

    OUTERRA - OUTERRA - OUTERRA - OUTERRA - BLOWMIND!

Posting Permissions

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