Home   Help Search Login Register  

Author Topic: Placing Units in buildings  (Read 1734 times)

0 Members and 1 Guest are viewing this topic.

Robinhansen

  • Guest
Re:Placing Units in buildings
« Reply #15 on: 06 Sep 2003, 11:10:55 »
If you like to place a soldier in the building at the factory site (Nogova island) is the coordinates then: [cd,52,10] ?? or do I get this totally wrong ??? ???

Offline Burn

  • Members
  • *
Re:Placing Units in buildings
« Reply #16 on: 06 Sep 2003, 17:09:42 »
@Robinhansen
Just type this in the init field of the loon...
this setpos [getpos this select 0, getpos this select 1,2]

U see the number 2 @ the end of the code?!? ...that's the height of the unit in meters. So now all u gotta do is to place the unit in the editor where u want him, and just play around with the height.

Or u could simply put this in a trigger's on activation line activated by radio alpha...
hint format ["%1", getpos Player]

That will display the exact coordinates of the player in a hint box, when u have called radio alpha (0-0-1).

and if u need to get the direction as well...
hint format ["%1", getDir Player]

Just type that in the on activation line of a radio bravo trigger (0-0-2)

wright the coordinates or direction down, and type:
this setpos [X,Y,Z]
in the init field... Replace [X,Y,Z] with the coordinates, that was shown in the hint box.
 :cheers:

@LCD
Quote
u stil have em ?

*orgenaizes raid on Bizons house
:o
LOL... bring it on u loon... I'm ready for ya.
*Grabs his AK74SU & jumps in his T90
 ;D ::) :P :gunman:

Quote
so i was right
No ;D

Quote
u mean kristal cler right ?
:oOops, I appologise for my bad LCD'ish :beat:
 :cheers:

Robinhansen

  • Guest
Re:Placing Units in buildings
« Reply #17 on: 06 Sep 2003, 18:38:47 »
God d.... :wow: I worked...Thanks a million  times m8 :cheers:

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Placing Units in buildings
« Reply #18 on: 06 Sep 2003, 23:10:31 »
@ robi

click da solve boton - shud b around somwere  ::)  ;)

@ bizon

Quote
LOL... bring it on u loon... I'm ready for ya.
*Grabs his AK74SU & jumps in his T90

its not fair :P i luv em SUs also :P

*grabs AK74SU & jumps into his blackshark  :o  :P

Quote
No

yes i was :P

mine

Quote
X : is da position from left 2 right (on da map)
Z : up and down (on da map)
Y : high of da unit

urs

Quote
X= left & right.

Y= forward & backwards.

Z= up & down.

up n down on da map is forwad n backward :P

Quote
Oops, I appologise for my bad LCD'ish

don wry  ;D

wel fix it 4 u wen we get ya :P

;)

LCD OUT
« Last Edit: 06 Sep 2003, 23:12:01 by LCD »
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta