Home   Help Search Login Register  

Author Topic: Placing Units in 2-story buildings  (Read 598 times)

0 Members and 1 Guest are viewing this topic.

TheInterruptingCow

  • Guest
Placing Units in 2-story buildings
« on: 23 Dec 2002, 00:02:22 »
I was wondering how to get units into the second story of a structure, tried simply placing them in the middle of the building in the editor bot that just put them on the very top (duh)
mabee i need a setAltitude or something of the sort in their init box?
plz help ;)
« Last Edit: 23 Dec 2002, 00:05:36 by TheInterruptingCow »

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Placing Units in 2-story buildings
« Reply #1 on: 23 Dec 2002, 01:15:39 »
 :D YOU need sorcery, boy!  :o ... or the 'setpos' spell, to be more spec.

INIT field spell goes:

 This setpos [getpos this select 0, getpos this select 1, 13]

Now, this command is to pe put in the INIT (initialsation) field of a unit/object
when created; so just do that & set the last number, the 13 to whatever # - this is the height setting.

Simply fiddle around w/ it and yer done, m8  :-*

Tombster