jpinard 10 Posted March 24, 2010 I cannot figure this out and have searched everywhere. I just want to place an individual unit on top of an object or building - ex. Deer Stand, Illimunant Tower, House etc. Thanks for helping :) Share this post Link to post Share on other sites
snkman 334 Posted March 24, 2010 Well you have to do it with setPos. In the initialize field of the unit write: this setPos [ (getPos this select 0), (getPos this select 1), (getPos this select 2) + 10]; The +10 is the high in meters. So this code will set the unit 10 meters higher. You have to figure out which high is needed to get the position you like. Share this post Link to post Share on other sites
jakerod 248 Posted March 24, 2010 I have a problem with the Illimunant Towers by the way. Just a warning for you. Whenever I seem to place men up there no matter what elevation I give them they always die or even if I don't give them an elevation. I can't figure out why. I don't really care that much because they aren't good positions anyway but I just thought I would warn you. Share this post Link to post Share on other sites
Deadfast 43 Posted March 24, 2010 Well you have to do it with setPos.In the initialize field of the unit write: this setPos [ (getPos this select 0), (getPos this select 1), (getPos this select 2) + 10]; The +10 is the high in meters. So this code will set the unit 10 meters higher. You have to figure out which high is needed to get the position you like. I'd suggest you use the new setPosATL (above terrain level) instead. The regular setPos can be a bit dodgy at times. this setPosATL [getPosATL this select 0, getPosATL this select 1, 15]; ...where 15 is the height. Share this post Link to post Share on other sites
Nicolai 10 Posted March 24, 2010 there are also some very good 3d editors out there. Share this post Link to post Share on other sites
jpinard 10 Posted March 24, 2010 Wow, who would have thought it would be so complicated? there are also some very good 3d editors out there. Do you have a suggestion? I'm a bit overwhelmed. Thanks! :) Share this post Link to post Share on other sites
tj72 0 Posted March 24, 2010 (edited) Try this nice and simple to use script/code by Celery: http://forums.bistudio.com/showthread.php?t=96497 . Edited March 26, 2010 by TJ72 Share this post Link to post Share on other sites
Nicolai 10 Posted March 24, 2010 I am using this editor. It's still in alpha but it's doing everything I need it to do 3DE editor good luck, Nicolai Share this post Link to post Share on other sites