Koni 1 Posted August 5, 2011 Might seem a strange one this but, basically I'm finding if I place say a Hen on the map, move it by setPos (getPos location); after a few seconds of the Hen becomming aware of it's new location, it starts to walk off back to where it was placed on the map in the editor to start with. I know not many people may have decided to teleport Chickens around the map for any form of gratification :pet5: but anyone have an idea of how I can stop the buggers from wandering off back to where they came from ? I was thinking about disableAI or similar, but that would make them statues I think, I'd like them to just act normal and wander around the new location like normal Chickens :) Share this post Link to post Share on other sites
ArmAriffic 10 Posted August 5, 2011 (edited) i had a similar issue, you have to spawn the animal into a civies group http://forums.bistudio.com/showthread.php?t=122244 you could use doMove to get the unit to move somewhere to make the civilian group leader invisible use this hideObject true in the init field Here is a list of all scripting commands for OFP (ArmA: CWA), ArmA, ArmA 2, ArmA 2 OA\DLC's and when ArmA 3 is out it's commands too Edited August 5, 2011 by ArmAriffic Share this post Link to post Share on other sites
Koni 1 Posted August 5, 2011 Yeah thanks, that sorted them from walking back over 1 mile away from where I stole them :) Got round it by deleting them, spawning them where I wanted then, joined to a civilian who was hidden, but soon they get into formation with the hidden civilian and stand rooted to the spot and don't move again, so I guess I'd have to make a script to keep moving the civilian around to keep the Chickens moving to... Share this post Link to post Share on other sites