smogmorph 0 Posted April 17, 2003 Is there any way I can force the leader of the group to issue a stop order for the whole group? Share this post Link to post Share on other sites
RED 0 Posted April 18, 2003 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">"_X stop true" foreach units groupname<span id='postcolor'> That should work. RED Share this post Link to post Share on other sites
smogmorph 0 Posted April 18, 2003 Already tried that. It paralyzes the men and makes them completely useless. I want them to be able to return fire( but I don't want them to run around engaging tanks etc..). Before anyone suggests I should use the "dostop" command, I might aswell tell you I already tried that. With "dostop" they do return fire at the enemy, but I found out that it's very unreliable and doesn't really work the way I want it to work. So.. anyone else got any suggestions except these two mentioned? Share this post Link to post Share on other sites
RED 0 Posted April 18, 2003 You could try: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">unit disableai "move"<span id='postcolor'> RED Share this post Link to post Share on other sites
smogmorph 0 Posted April 18, 2003 Alright thanks, this works out just fine, maybe not what I had in mind but it'll do. One last question though. How do I enable "move" once disabled ? Share this post Link to post Share on other sites
lonesoldier 0 Posted April 18, 2003 Maybe enableai "move" ? Share this post Link to post Share on other sites
smogmorph 0 Posted April 18, 2003 Nah, that's not a valid command Share this post Link to post Share on other sites
Guest jacobaby Posted April 18, 2003 I asked this a while back...no answer came, but to be honest I think the answer is to assign another command. eg; soldier1 commandfollow leader group soldier1 hth TJ Share this post Link to post Share on other sites
smogmorph 0 Posted April 18, 2003 Well.. we're getting closer to a solution. In my mission the original Leader of the group is most likely to be killed before the command "follow leader" is executed. Which means that soldier1(1-11) takes command and he's still in disableai "move" mode. I can hear the leader calling everybody back in formation, but since he's in disableai "move" mode, not much happens . Share this post Link to post Share on other sites
smogmorph 0 Posted April 18, 2003 After searching the ofpec forums I found out that enabling "move" is impossible if disabled This completely screws up my mission plan. I would be forever thankful if someone found a way to solve this.. Share this post Link to post Share on other sites
Doolittle 0 Posted April 18, 2003 Try changing their behaviour and doStopping them? Maybe "careless"?? Doolittle Share this post Link to post Share on other sites
smogmorph 0 Posted April 18, 2003 Careless soldiers do not fire their weapons Share this post Link to post Share on other sites
ralphwiggum 6 Posted April 18, 2003 how about making a waypoint for the group, and sync it with a trigger. unless trigger condition is satisfied, units won't move. Share this post Link to post Share on other sites
smogmorph 0 Posted April 18, 2003 It's not that easy. Even though the leader isn't moving, he's still giving out orders to the rest of the men, then they run away from the formation and gets slaughtered by enemy tanks. At best, maybe 1 or 2 soldiers survives the first encounter with enemy troops. Then there's a whole other town to clear... Share this post Link to post Share on other sites
benreeper 0 Posted April 19, 2003 The only thing that seemed to work for me was to "disable Target" for each of the men in the group. What this should do is when the leader tells the men to target something that is order is now ignored, so when the leader tell someone to engage a target the soldier will not since he isn't targeting anything the leader tells him to target. Ben Share this post Link to post Share on other sites
smogmorph 0 Posted April 19, 2003 Oh, I never thought of using that command because I thought it would disable the AIs ability to shoot. I just tried it and it works out great, now I can get on with my mission. Thanks a bunch all of you . Share this post Link to post Share on other sites