Home   Help Search Login Register  

Author Topic: objects on buildings & choppers over buildings  (Read 593 times)

0 Members and 1 Guest are viewing this topic.

slaymaker

  • Guest
objects on buildings & choppers over buildings
« on: 15 Nov 2002, 18:30:41 »
Am trying to place objects on buildings for some roof top action, and also would like to use a chopper for dust off.... But the chopper won't come near the building.  (the objects always appear IN building, not on) Have seen someones mission which does similar - but can't get either to work. No scripting experiance, so init field etc or nothing please!!! 8)

ShadowD BOB

  • Guest
Re:objects on buildings & choppers over buildings
« Reply #1 on: 15 Nov 2002, 19:09:30 »
Usually when u place an object directly ontop of a building it goes onto the roof (if u use the flats on nogova) not sure about other buildings.  if not put this in the init field on the unite u want on roof-

this setpos [(getpos this select 0), (getpos this select1), 7]

The 7 at the end is the height in feet, play around until you have the desired height.

Hope that helps.
« Last Edit: 15 Nov 2002, 19:11:28 by ShadowD BOB »

Offline Skumball

  • Members
  • *
Re:objects on buildings & choppers over buildings
« Reply #2 on: 16 Nov 2002, 14:42:39 »
make sure you put a space between 'select' and '1'
Simple mistake I know but it won't work otherwise :)

nik

  • Guest
Re:objects on buildings & choppers over buildings
« Reply #3 on: 16 Nov 2002, 19:21:04 »
It should be:  

  this setpos [(getpos this select 0),(getpos this select 1),7];

 ;)

If you want to make it more precise you can do it like this: For examble: 7.1, not 7,1 (a point not a "," ).


« Last Edit: 16 Nov 2002, 19:35:39 by nik »