Jump to content
Sign in to follow this  
Japonaattori

Placing units -inside- a building?

Recommended Posts

Hi,

So, my question is simple. How the heck can I place units inside buildings? When I place them on the buildingmarkers, they just spawn on the roof. I want to place them on different levels, like 2nd floor and 1st floor.

Sorry I had to make a whole topic about it, but I couldn't find this questions anywhere here :rolleyes:

Share this post


Link to post
Share on other sites

You can set a waypoint for them to enter different positions in a building or you can set the exact height that they will spawn at but i cant remember how to do that sorry.

Share this post


Link to post
Share on other sites

Set object/unit height:

Put this into the object's/unit's initialization line:

this setPos [(getPos this) select 0, (getPos this) select 1, 1.45];

...where 1.45 is the height above ground.

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  

×