Motavar 11 Posted September 24, 2013 Question: I'm trying to place a Hospital down with all 3 parts (main, side1, side2) and link them together without spaces. Does anyone know how to accomplish this via a script? Right now I'm trying to accomplish this by placing an invisible helicopter pad down and script all 3 parts together but there are still spaces between structures: OpforBase="Land_Hospital_main_F" createVehicle position this; OpforBase1="Land_Hospital_side1_F" createVehicle position this; OpforBase2="Land_Hospital_side2_F" createVehicle position this; deleteVehicle this; this setvectorup [0,0,1]; Share this post Link to post Share on other sites
dcthehole 1 Posted September 24, 2013 If you have a specific location in mind then just create the vehicles are tweak the positions until they are just right. Share this post Link to post Share on other sites
na_palm 19 Posted September 24, 2013 hi Motavar, you could try following: -place marker near hospital in Kavala -get relative positions of the 3 parts to the marker -create a 2nd marker where you want your hospital -create the 3 parts with the relative positions from above -attach them to the 2nd marker so their position is now based on the markers one and rotate the marker as desired. That would be my approach. good luck and happy bug hunting :) Share this post Link to post Share on other sites
Pac Man 10 Posted September 24, 2013 Afterwords, to save trouble in the future, you can store the completed hospital into a custom composition, so it (as a whole) can simply be spawned anywhere, in any direction. Share this post Link to post Share on other sites
lynx75 1 Posted September 24, 2013 You can use this tool http://forums.bistudio.com/showthread.php?160709-GID-Object-Positioning-System. The script allow you to place accuratly any object (0.001 m ) Share this post Link to post Share on other sites
Motavar 11 Posted September 24, 2013 Thank you everyone. I'll give all these suggestions a try tonight and see if I can link these objects together. Share this post Link to post Share on other sites