Jump to content
Sign in to follow this  
acoustic

Best way to place units in buildings

Recommended Posts

I am talking quite a few units in an apartment type building. 2d editor is pretty much out of the question and all of the 3d ones are hellish to work with. Any tips?

Share this post


Link to post
Share on other sites

The addon "Visual Building Pos" is very helpful in finding building positions. You can see the positions in the editor preview with hovering bubbles and copy the code to setPos a unit to the position for use in a unit's initialisation field for example.

Share this post


Link to post
Share on other sites

Must say I have always used the old setPos and preview, over n over n over till I'm done :)

Share this post


Link to post
Share on other sites

diag_log format ["this setPosATL %1; this setDir %2;",getPosATL player, getDir player];

That called from debug console will write the current position and direction of the player unit into the RPT. I just copy and paste the output into the init lines of units. You could replace diag_log with copyToClipboard but I find diag_log better for placing units in batches, per house for example.

Edited by Hellfire257

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  

×