Results 1 to 1 of 1

Thread: ArmA 2 Editor: Spawning more AI to AI leader.

  1. #1
    Join Date
    January 2005
    Location
    Norway
    Posts
    2,034

    Thumbs up ArmA 2 Editor: Spawning more AI to AI leader.

    Theres so many uses for this I thought it would be interesting for peeps.
    Eg, you could have a whole 10 man squad come out of a house that you cant go into or place units in...




    This is how:
    *********
    Spawn one unit:
    Rank: Higher than spawns.
    Unit name: bs
    In init: boss = group this;

    Trigger: (You can also do this in WPs Act.)
    Radio Alpha
    Act: boss createUnit ["USMC_Soldier", position bs, [], 3, "FORM"]; [unit] join boss; unit move position bs; (copy/past to add more)

    A US infantry will spawn 3m from AI leader bs, go to him and join hes group, boss. He will have the special setting of "In formation".
    [type, position, markers, placement, special]




    How to spawn other stuff/dead objects:
    ******************************
    Trigger:
    Radio Alpha
    Act: _handle = "Land_Ind_TankBig" createVehicle getPos player;

    This will spawn a big building on the player. The name _handle can be anything. _spade _ thing etc. Its a "value" if you are using it for other stuff I reckon.
    If you have a small object pre placed, eg a can, and named it can1. You can swap player with can1 to place it on can1.





    Note:
    -----
    *You cant see it because of the link. But all type names will have a _ instead of space between the words. Eg,
    "USMC_Soldier".

    *The spawners will remember normal WP functions.
    Eg, WP1 formation line, WP2 spawn 10x inf.
    These spawners will be in line formation. Instead of default wedge.

    *But spawners will NOT "remember" earlier WPs, or leader init group orders.
    Eg, AI leader init: {_x setUnitPos "middle"} forEach units boss;. WP1 spawn 10xInf. When this happens only the leader will be in kneeling pos.
    The rest will have default standing.

    *createVehicle command will only spawn "zombies".
    As in -none- functional troops who do nothing.
    Last edited by JojoTheSlayer; Sunday, 30th August 2009 at 13:40.
    I am JojoTheSlayer in most games.
    Old school RL PlanetSide player...

Similar Threads

  1. Editor Tips
    By Volw in forum Team Shooters
    Replies: 13
    Last Post: Sunday, 30th August 2009, 14:27
  2. ARMA 2 Editor GOD book.
    By JojoTheSlayer in forum Team Shooters
    Replies: 7
    Last Post: Thursday, 27th August 2009, 17:45
  3. Sound editor?
    By Ironman in forum The Bar
    Replies: 1
    Last Post: Wednesday, 26th November 2008, 08:37
  4. Replies: 5
    Last Post: Saturday, 19th May 2007, 10:25
  5. CoH Map Editor
    By GuardianAnge1 in forum The Bar
    Replies: 3
    Last Post: Saturday, 12th May 2007, 14:28

Posting Permissions

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