seba1976 98 Posted August 30, 2009 Hi, I've searched for some time now and I don't seem to find what I'm looking for. So here's the question: Is it possible to add the ability to make any units on your side join your group, by pointing and clicking on them? I remember something like this was in ECP for OFP... I need this because in big scale battles, it's very common to find lost units from almost destroyed groups, and I would like to regroup those units under my command to keep the fight:coop:. Share this post Link to post Share on other sites
Marc Shepard 10 Posted August 30, 2009 Hum, you can't click on it, but if you make a waypoint "Join and lead", and if you synchronise it with a waypoint from the wanted unit, you'll lead him. Share this post Link to post Share on other sites
haroon 10 Posted August 30, 2009 (edited) I don't know what others will say, but here is my method : In this method, when you click "Join Me" on Action Menu, any Blufor units in the specified area around you will join you... First Create Scripts : checkingscript.sqs changevariable.sqs Create a trigger in the editor, name it "checker" [without ""] Name : checker Axis A and B : YOUR DESIRED AREA Activation : BLUFOR , PRESENT Condition : this On Act : [nameofyourplayer] exec "checkingscript.sqs" Note : You have to change "Blufor" in relation to your side.Use player in the [] if its an SP Mission... ================================= checkingscript.sqs _yourunits= count units group player ? _leaderman != player : exit ;exits if _leaderman is not the current player on the machine... _leaderman=_this select 0; #loop ? not (alive player) : exit @startchecking ? {count untis group _x==0} : goto "morecheck" ? {count units group _x <= 2} : {[_x] join _leaderman} foreach checker ;any Blufor in the area will join player... ;you may need to add "foreach checker" behind "_x <= 2}" ~0.5 #morecheck ? count units group player == _yourunits : hint "No one joined your group.";goto "loop" hint format ["No of units in your team : %1",count units group player] ~0.5 startchecking = false goto "loop" =============================== In your unit's[player's] init : yourplayername addaction ["Join Me","changevariable.sqs"] ===================================== changevariable.sqs checker setpos getpos player ;moves trigger to player's position ~0.5 startchecking=true ;makes the script start the checking exit Edited September 1, 2009 by haroon Share this post Link to post Share on other sites
seba1976 98 Posted August 30, 2009 Thanks haroon. I'd like more control over who's joining me though. If one unit with no group is too near a group I don't want to disband, your script would wreak havoc ;). Is it possible to refer to the unit you are looking at? Share this post Link to post Share on other sites
haroon 10 Posted September 1, 2009 Script updated to suit your need... Now ,Only groups with 1 or 2 units will join you... Share this post Link to post Share on other sites
seba1976 98 Posted September 1, 2009 Script updated to suit your need...Now ,Only groups with 1 or 2 units will join you... Thanks for your support haroon. I get the idea you're trying to show here, but as far as I cannot point at the units I want to join my team, I'll have to go with this: Team Status Dialog. I didn't mention this before because I thought maybe there was a way to do what I wanted (point and join). Thanks again. Share this post Link to post Share on other sites