Psychopomp7781 0 Posted February 15, 2002 Hello all. Â I've recently gotten this making a OFP map bug into my viens. Â I'm currently working on a hostage rescue (if it will be possible) on Everon. Â The only problem I've having is this. Â I'd like to have four captives being held in the city of Montignac, by Spetz Natz officers. Â Now here's my problem. Â If I assign them as a US squad, the Spetz Natz shoot them on sight. Â If I assign them with the Spetz Natz then the US troops shoot them when I try to liberate them. Â Does anyone know how to stop this from happening? Â Thanks for any help you can give me. Pomp Tactical Co-op Clan Share this post Link to post Share on other sites
ConanOfOz 0 Posted February 15, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">...Now here's my problem. Â If I assign them as a US squad, the Spetz Natz shoot them on sight. Â If I assign them with the Spetz Natz then the US troops shoot them when I try to liberate them. Â Does anyone know how to stop this from happening? Â Thanks for any help you can give me. Pomp Tactical Co-op Clan<span id='postcolor'> Are they in a group? Â Such as "Hostage"... Â If so, then... </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">;This will prevent them being shot by enemies "_x SetCaptive True" ForEach Hostage ;Also, they should be weaponless, so... "RemoveAllWeapons _x" ForEach Hostage ;Finally, just for a little polish... _i = 0 _Last = Count Hostage #DoAnother Hostage[_i] SwitchMove "FXStandSurUniv" _i = _i + 1 ?(_i < _Last): Goto "DoAnother" <span id='postcolor'> That last one has to be iterated long hand because the SwitchMove command takes a parameter in quotation marks, as does the Statement preceding a ForEach command. Â I beleive this would confuse the script parser and fall on it's arse, so.... If they are not in a group, then you'll just have to repeat the first two commands for each one. Share this post Link to post Share on other sites