Home   Help Search Login Register  

Author Topic: Direction Probs.  (Read 444 times)

0 Members and 1 Guest are viewing this topic.

Phantom

  • Guest
Direction Probs.
« on: 03 Dec 2002, 11:23:21 »
Right, My guys are out of the chopper and I've given them a waypoint with line formation, except the lines facing the wrong bloody way, how do i make them face a certain direction?

Help is always appreciated!
Phantom

Offline Blanco

  • Former Staff
  • ****
Re:Direction Probs.
« Reply #1 on: 03 Dec 2002, 22:49:50 »
I never tried it but there's a command for this...Setdir

This is what the command reference tells us :  ::)
-------------------------------------------------
Obj Setdir heading
Operand types:
    obj: Object
    heading: Number
Type of returned value:
    Nothing

Description:
    Set object heading. Accepted heading range is 0 to 360.

Example:
    player setDir 180
---------------------------------------------------------
So, the whole group have to turn a certain heading?

Try to name the commander (off1) and put in the getout/unload transportwaypoint (dunno what U use)

Off1 setdir 180

Maybe the commander will give the order to the whole group. It works fine with the setbehaviour... maybe with setdir too...

or :

_x "Setdir 180" foreach units grpname

Just a guess... ;)




Search or search or search before you ask.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Direction Probs.
« Reply #2 on: 03 Dec 2002, 23:55:24 »
@ Blanco

2 probs in wat u wrote

1)
Quote
_x "Setdir 180" foreach units grpname
is wrong ;)

should b

Code: [Select]
"_x Setdir 180" foreach units grpname
2) no unit wil stay in da direction u seted it 2 ;D

so i sugest dat Phantom (nd ny1 else interested) cruise around da ED depot nd find toadlife's face dir script ;)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta