Home   Help Search Login Register  

Author Topic: Placing people  (Read 416 times)

0 Members and 1 Guest are viewing this topic.

SilentEcho

  • Guest
Placing people
« on: 07 Feb 2003, 08:18:33 »
How do i place units inside and on top of buildings.  

Thanks

echo

Kaliyuga

  • Guest
Re:Placing people
« Reply #1 on: 07 Feb 2003, 08:24:37 »
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: