OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Smoshy on 01 Oct 2002, 09:36:24
-
I have just decided to get into the editing side of things and create my own missions and have come up with a problem. I have no idea how to get a man to start out in a watchtower or similar! Any help greatly appreciated.
Your head scratchingly
Smosh ???
-
place the unit over the guard tower and if he is directly below it try this code
this setpos [getpos this select 0, getpos this select 1, (getpos this select 2) +5]
that puts him up 5 feet. just mess around and find the right height. also it can be a point number like 3.7
anyays have fun with this code :)
-
Welcome to the forums, Smoshy
I suggest you check out the Editor's Depot (http://www.ofpec.com/editors/index.php) and the Editing FAQ (http://www.ofpec.com/editors/faq_search.php).
There you'll find a lot of frequently asked questions by newer editors (and some of us not so new ;))
-
Thanks guys. I will try both.
Smoshy
:D