starky396 1 Posted September 3, 2013 I am trying to make units that have spawned via the sites module stand up and always stand up. Is there any way to do this? I know if I put soldiername SetUnitPos "Up", that will work, but it only works on units spawned by the editor. How could I make them do this with the sites module though? Share this post Link to post Share on other sites
Zenophon 110 Posted September 3, 2013 Get the position of the module (enter a name in the 'name' field; I use 'site' here) and use nearEntities like so: { _x setUnitPos "up"; } forEach ((getPosATL site) nearEntities ["Man", 200]); Share this post Link to post Share on other sites
starky396 1 Posted September 4, 2013 Thanks, that worked perfectly. However, I tried to put in Dostop like this; { DoStop _x"; } forEach ((getPosATL site) nearEntities ["Man", 200]); And it doesn't work. Share this post Link to post Share on other sites
Zenophon 110 Posted September 4, 2013 You do not need the " mark after _x. doStop also accepts an array of units, so you could try: doStop ((getPosATL site) nearEntities ["Man", 200]); Share this post Link to post Share on other sites