Jump to content
Sign in to follow this  
fighterman

how do you place buildings in the editor

Recommended Posts

hi i was wondering how do you place buildings in the editor.

Share this post


Link to post
Share on other sites

I know this is a very old thread, but if I use the above code to place an object on my map, how do I turn it (change the direction of the object)?

Thanks!

Share this post


Link to post
Share on other sites

After it is created just do a setdir on it.

myBuilding setdir 90;

Share this post


Link to post
Share on other sites

Also, in the kylania example, within a multiplayer game it will create a building for each machine/player connected.

Put it on the init.sqf instead:

if (isServer) then
{
  _myBuilding = createVehicle ["Land_Hlidac_Budka_EP1", _pos, [], 0, "CAN_COLLIDE"] ;  //New createVehicle array command
  _myBuilding setDir _dir;
  _myBuilding setPosATL _pos;  //Syncronize direction over network
};

_neo_

Share this post


Link to post
Share on other sites
After it is created just do a setdir on it.

myBuilding setdir 90;

Thank you!

Share this post


Link to post
Share on other sites

other posible solution its load a addon that adds the buildings that have classname to the editor. There are 2 or 3, you will only need to load it to edit the mission, but it won't be necesary to have any addon to play it, note that i am refering to the ones that only adds the buildings with classname. There are other addons that includes also some buildings without classname, those would require the addon to play the mission so maybe not what you want.

I dont remember the addon name but it may be one of this (or all :P):

http://www.armaholic.com/page.php?id=12899

http://forums.bistudio.com/showthread.php?t=109362

http://www.armaholic.com/page.php?id=5932

http://www.armaholic.com/page.php?id=11668

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  

×