OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SilentEcho on 07 Feb 2003, 08:18:33
-
How do i place units inside and on top of buildings.
Thanks
echo
-
If it is an existing, enterable building.... you can simply give the AI a waypoint that is placed directly on the name of the building... you'll know you've done it right if you can't move the waypoint after that....
now... when you edit the wapoint... you'll see there is a field for "position"
choosing one of the positions will make the guy go to that designated spot...
if there aren't positions.... you can always fool around with setposition
something like this:
this setpos [getpos this select 0, getpos this select 1,x]
where x is the height in meters above ground
:cheers: