Home   Help Search Login Register  

Author Topic: Placing objects on buildings  (Read 666 times)

0 Members and 1 Guest are viewing this topic.

sabra

  • Guest
Placing objects on buildings
« on: 19 Oct 2003, 04:32:34 »
I was wondering how do I put objects on buildings, I seen that BAS done it with mission 3 on their campaign. I want to put a mgun nest on top of a building.

Thanx

Offline oyman

  • Members
  • *
  • king of pings
Re:Placing objects on buildings
« Reply #1 on: 19 Oct 2003, 04:43:30 »
put this in the init field of the object u want to put on building

this setpos [getpos this select 0, getpos this select 1, (getpos this select 2) + X]";

change the X to 1 or 15 depending on how high the building is

_hammy_

  • Guest
Re:Placing objects on buildings
« Reply #2 on: 19 Oct 2003, 05:54:38 »
there are some buildings where you can just drag the dude over the building and the editor will automatically put him on top :P

but
this setpos [getpos this select 0, getpos this select 1, (getpos this select 2) + X] words fine to :)

KyleSarnik

  • Guest
Re:Placing objects on buildings
« Reply #3 on: 19 Oct 2003, 06:29:21 »
Quote
I want to put a mgun nest on top of a building.

Quote
there are some buildings where you can just drag the dude over the building and the editor will automatically put him on top

erm... that only works on men not mgs...

and you dont have to have the (getpos this select 2) just [getpos this select 0, getpos this select 1, +Z]

Z is height, X is east/west
« Last Edit: 19 Oct 2003, 06:31:43 by KyleSarnik »

sabra

  • Guest
Re:Placing objects on buildings
« Reply #4 on: 19 Oct 2003, 09:43:04 »
Thanks guys for your quick response

 ;D

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Placing objects on buildings
« Reply #5 on: 19 Oct 2003, 11:39:04 »
Why can't this be done with tanks >:(

:beat: *Gets Shot* :beat:

KyleSarnik

  • Guest
Re:Placing objects on buildings
« Reply #6 on: 19 Oct 2003, 23:51:51 »
It can....