OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: windquest on 31 Dec 2011, 16:52:25
-
I have the MAP FACT watch tower addons. How do I get a soldier to stand guard in the tower and not on the ground under it?
-
Put the following code in the soldier's Init line:
this setpos [getpos this select 0, getpos this select 1, +7]
The '7' represents the height you want the soldier to be at. You can change this number to any value. I think for the towers in the mapfact addon you'll need the height set at 7 or 8.
Hope this helps
Gruntage