In your AI soldier leader init put heroes=group this
Have your helo called 'helo1'
script command would be
{_x assignAsCargo helo1} foreach units heroes;
{[_x] ordergetin true} foreach units heroes;
wp = heroes addwaypoint [helo1,5];
wp setwaypointType "GETIN";
It's worth noting that the Helo command differs slightly from the group of soldiers
Use of GET IN, GETIN, LOAD, UNLOAD, GET OUT, GETOUT can all be very fickle....
Getting Out / Unloading EXAMPLE
_wp = _H1Group addWaypoint [_land, 5];
_wp setWaypointStatements ["true", "H1helo land 'GET OUT';"];
_wp1 = _H1Group addWaypoint [_land, 25];
_wp1 setwaypointtype "UNLOAD";
Getting In / Loading EXAMPLE
_wp = _H1Group addWaypoint [_land, 5];
_wp setWaypointStatements ["true", "H1helo land 'LOAD';"];
_wp1 = _H1Group addWaypoint [_land, 25];
_wp1 setwaypointtype "GETIN";
This post was edited by palyarmerc (2012-01-09 09:03, ago)
|