Results 1 to 4 of 4

Thread: Problem with spawning script (ArmA 2 OA)

Threaded View

  1. #1

    Problem with spawning script (ArmA 2 OA)

    G'day everyone,

    I've spent quite a while trying to write script to spawn 5 units. So far this what I've got:
    Code:
    _pos = getMarkerPos "MarkerOne"
    _s1 = "Graves"
    _s2 = "US_Delta_Force_SD_EP1";
    _s3 = "US_Delta_Force_Medic_EP1";
    _s4 = "US_Delta_Force_Night_EP1";
    _plane = "C130J_US_EP1";
    
    for [{_counter = 0}, {_counter < 5}, {_counter = _counter + 1}] do {
    	_units = [_s1,_s2,_s3,_s4,_plane] select _counter;
    	_spawngroup = [_pos, West, _units, [],[],[0.5,0.8],[]] call BIS_fnc_spawnGroup;
    };
    On my map I have a marker named "MarkerOne" and a functions module. I know there are a lot of threads on this already but none of them seem to work for me; which is really strange as they work for the people who post them . Please help.

    thanks,
    Last edited by undercoverbrother; Dec 7 2010 at 05:48.
    Chuck Inglish, Mikey Rocks = COOL KIDS = good music (look them up)

Posting Permissions

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