monkeyboy27 0 Posted March 13, 2007 I was wondering how to place units inside the buildings at the various positions. Whenever I place them on the buildings in the map, they just stand on the roof. Is there a script or something, that'll start them off at the specific positions? Share this post Link to post Share on other sites
monkeyboy27 0 Posted March 13, 2007 Yeah, I did search, and I found nothing. I searched "placing units in building" and got nothing. I searched "unit building" and got nothing. Care to tell me what I should actually be searching for? Share this post Link to post Share on other sites
satexas69 0 Posted March 13, 2007 init="this setpos [(getpos this select 0), (getpos this select 1), 0]"; init="this setpos [(getpos this select 0), (getpos this select 1), 8]"; init="this setpos [(getpos this select 0), (getpos this select 1), 4]"; ... Share this post Link to post Share on other sites
Balschoiw 0 Posted March 13, 2007 Make sure you tick the box "and older" on the bottom of the search site next time... unit´s in buildings Share this post Link to post Share on other sites
monkeyboy27 0 Posted March 14, 2007 Cool, Cheers guys. I'm doing it with the lines satexas69 posted. I can't get it to work properly with the building positions, so I'm just using trial and error for each person. Share this post Link to post Share on other sites
RogueRunner 0 Posted March 14, 2007 Yip, also does not work for me. Lets say I want to put a harrier in a hanger on the airfield in the north. What is the init string for that? Share this post Link to post Share on other sites
tophe 69 Posted March 14, 2007 You can download two scripts I made for this, at Armaholic. Random Building Position Script: http://www.armaholic.com/page.php?id=879 and Random House Patrol Script: http://www.armaholic.com/page.php?id=936 These will allow you to place units randomly in buildings, and if you want to they'll patrol the area. Share this post Link to post Share on other sites
Balschoiw 0 Posted March 14, 2007 Quote[/b] ] Lets say I want to put a harrier in a hanger on the airfield in the north. What is the init string for that? Put the jet right above the hangar and use this in init line: this setpos [(getpos this select 0), (getpos this select 1), 0.2] Quote[/b] ]I can't get it to work properly with the building positions No surprise as it doesn´t have anything to do with building positions but only defines the height of a unit exactly where you placed it. Share this post Link to post Share on other sites
RogueRunner 0 Posted March 14, 2007 Cool bananas, will give a wirl, thanx! Share this post Link to post Share on other sites
RogueRunner 0 Posted March 15, 2007 great it worked but ... now I get a popping sound coming from the harrier inside the hangar constantly! Almost like it's dropping onto the floor all the time now Any idea why that happens? I played around with the 0.2 value at the end but it did not solve the problem. Share this post Link to post Share on other sites
RogueRunner 0 Posted March 15, 2007 It seems the tick noise is something related to the FDF soundmod I have installed so scratch that last post of mine Share this post Link to post Share on other sites