Jump to content
Sign in to follow this  
monkeyboy27

Placing units in buildings

Recommended Posts

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

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

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

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

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
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

great it worked but ... wink_o.gif

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 sad_o.gif 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

It seems the tick noise is something related to the FDF soundmod I have installed so scratch that last post of mine biggrin_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×