OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Black Fox on 01 Jul 2003, 04:06:28
-
I have been struggling to do this for a while with no real luck...basically I want to place a M2 machine gun, an ammo crate and a few additional troops on top of the tallest building in Modrava. I know that it's got something to do with knowing the right height, but how do I work that out?
-
Place the units over the building, and in the ini put-
this setpos [getpos this select 0, getpos this select 1, 23.5]
You only need to do that for the ammo crate and mg, the units will be up there by placing them over the building.
-
For some reason I can place the player that way but not the other troops. Maybe I need to take them out of formation...I'll try later and see how it goes. Thanks!
-
Don't even try to put any soldiers up there that are grouped. Make sure they're each a group unto themselves.