Ice_Rhino 3 Posted August 5, 2013 Is it possible and if so how to ensure that OPFOR units stay within a given range of a certain point (hidden OBJ whatever). I am placing site units down from Modules and some of them just go wandering off into the distance. I want the soldiers to stay within say 200m of the base in which they spawned. Thanks Toni (IR) Share this post Link to post Share on other sites
Ice_Rhino 3 Posted August 5, 2013 I am trying to see if this will work; _unit allowFleeing 0; Share this post Link to post Share on other sites
CSLALUKI 30 Posted August 5, 2013 (edited) I am trying to see if this will work; _unit allowFleeing 0; Yes, you have to use the script allowFleeing: unitName allowFleeing number; Note: If you write a small number (0, 1, 2 ...), the unit will be easier to run from a fight. If write a large number, the unit won't to run from a fight. Edited August 5, 2013 by [CSLA]LUKI typo Share this post Link to post Share on other sites
Ice_Rhino 3 Posted August 5, 2013 (edited) What is the scale? 0 - 10? 0 = run away, 10 = Rambo holding steady Edited August 5, 2013 by Ice_Rhino Changed content Share this post Link to post Share on other sites
CSLALUKI 30 Posted August 5, 2013 You're welcome mate ;) Share this post Link to post Share on other sites
Ice_Rhino 3 Posted August 5, 2013 I just found this regarding fleeing Share this post Link to post Share on other sites
CSLALUKI 30 Posted August 5, 2013 (edited) What is the scale? 0 - 10? 0 = run away, 10 = Rambo holding steady So somehow :) You test it, and then write, if it worked or not worked ;) Edited August 5, 2013 by [CSLA]LUKI Changed content Share this post Link to post Share on other sites